From fd48f850a3d973e590cd9fbecab27146643faa28 Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Fri, 23 Jul 2010 16:24:11 -0400 Subject: [PATCH] Emmit uri signals after after item uri is set --- midori/midori-view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 43bb457a..1b3114dd 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3602,8 +3602,8 @@ midori_view_set_uri (MidoriView* view, webkit_web_view_load_html_string ( WEBKIT_WEB_VIEW (view->web_view), data, view->uri); g_free (data); - g_object_notify (G_OBJECT (view), "uri"); katze_item_set_uri (view->item, uri); + g_object_notify (G_OBJECT (view), "uri"); return; } else if (g_str_has_prefix (uri, "pause:")) @@ -3619,8 +3619,8 @@ midori_view_set_uri (MidoriView* view, _("Load Page"), NULL); g_free (title); - g_object_notify (G_OBJECT (view), "uri"); katze_item_set_uri (view->item, uri); + g_object_notify (G_OBJECT (view), "uri"); } else if (g_str_has_prefix (uri, "javascript:")) { @@ -3643,8 +3643,8 @@ midori_view_set_uri (MidoriView* view, else { katze_assign (view->uri, sokoke_format_uri_for_display (uri)); - g_object_notify (G_OBJECT (view), "uri"); katze_item_set_uri (view->item, uri); + g_object_notify (G_OBJECT (view), "uri"); webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), uri); } } -- 2.39.5