From a482dc36a82494cf52eecd8c2b729389460720e5 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 30 Mar 2008 17:07:56 +0200 Subject: [PATCH] Quick fix: Open URIs again. --- src/midori-webview.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/midori-webview.c b/src/midori-webview.c index 944934e2..b5c2e25b 100644 --- a/src/midori-webview.c +++ b/src/midori-webview.c @@ -669,13 +669,15 @@ midori_web_view_set_property (GObject* object, priv->icon); break; case PROP_URI: - if (priv->uri && *priv->uri) + { + const gchar* uri = g_value_get_string (value); + if (uri && *uri) { // FIXME: Autocomplete the uri - webkit_web_view_open (WEBKIT_WEB_VIEW (web_view), - g_value_get_string (value)); + webkit_web_view_open (WEBKIT_WEB_VIEW (web_view), uri); } break; + } case PROP_TITLE: katze_assign (priv->title, g_value_dup_string (value)); const gchar* title = midori_web_view_get_display_title (web_view);