Don't create speed dial when preparing view source

This commit is contained in:
Paweł Forysiuk 2011-03-29 20:17:01 +02:00 committed by Christian Dywan
parent ae1a3aafb9
commit 2771eee995

View file

@ -3307,7 +3307,6 @@ _action_source_view_activate (GtkAction* action,
source = midori_view_new (NULL); source = midori_view_new (NULL);
midori_view_set_settings (MIDORI_VIEW (source), browser->settings); 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)); 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_set_view_source_mode (WEBKIT_WEB_VIEW (web_view), TRUE);
webkit_web_view_load_uri (WEBKIT_WEB_VIEW (web_view), uri); webkit_web_view_load_uri (WEBKIT_WEB_VIEW (web_view), uri);