From 1d8a7728a6bb0a1ec1a361f661f4e5aef6023949 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 23 Jun 2009 00:09:24 +0200 Subject: [PATCH] Use URI instead of the view itself to open tabs in new windows --- extensions/tab-panel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5