From: Christian Dywan Date: Mon, 22 Jun 2009 22:09:24 +0000 (+0200) Subject: Use URI instead of the view itself to open tabs in new windows X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d8a7728a6bb0a1ec1a361f661f4e5aef6023949;p=midori Use URI instead of the view itself to open tabs in new windows --- diff --git a/extensions/tab-panel.c b/extensions/tab-panel.c index 6f85332c..45df6d5e 100644 --- a/extensions/tab-panel.c +++ b/extensions/tab-panel.c @@ -149,7 +149,8 @@ midori_extension_open_in_window_activate_cb (GtkWidget* menuitem, new_browser = midori_app_create_browser (midori_extension_get_app (extension)); midori_app_add_browser (midori_extension_get_app (extension), new_browser); gtk_widget_show (GTK_WIDGET (new_browser)); - midori_browser_add_tab (new_browser, view); + midori_browser_add_uri (new_browser, + midori_view_get_display_uri (MIDORI_VIEW (view))); } static void