]> spindle.queued.net Git - midori/commitdiff
Don't create speed dial when preparing view source
authorPaweł Forysiuk <tuxator@o2.pl>
Tue, 29 Mar 2011 18:17:01 +0000 (20:17 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 3 Apr 2011 22:24:42 +0000 (00:24 +0200)
midori/midori-browser.c

index 8fb85fb1ad56c3453a7ab0cda8d931b08e049649..790b35a50e66457d0dca435a9b79e5badfb084c0 100644 (file)
@@ -3307,7 +3307,6 @@ _action_source_view_activate (GtkAction*     action,
 
         source = midori_view_new (NULL);
         midori_view_set_settings (MIDORI_VIEW (source), browser->settings);
-        midori_view_set_uri (MIDORI_VIEW (source), "");
         web_view = midori_view_get_web_view (MIDORI_VIEW (source));
         webkit_web_view_set_view_source_mode (WEBKIT_WEB_VIEW (web_view), TRUE);
         webkit_web_view_load_uri (WEBKIT_WEB_VIEW (web_view), uri);