Use URI instead of the view itself to open tabs in new windows
This commit is contained in:
parent
7b36d4dd58
commit
1d8a7728a6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue