Make Open selected URL in New Tab work again
This commit is contained in:
parent
9e79f6ba14
commit
7c63a0b480
1 changed files with 5 additions and 1 deletions
|
@ -768,7 +768,11 @@ static void
|
|||
midori_web_view_menu_new_tab_activate_cb (GtkWidget* widget,
|
||||
MidoriView* view)
|
||||
{
|
||||
g_signal_emit (view, signals[NEW_TAB], 0, view->link_uri,
|
||||
gchar* uri = view->link_uri;
|
||||
|
||||
if (!uri)
|
||||
uri = (gchar*)g_object_get_data (G_OBJECT (widget), "uri");
|
||||
g_signal_emit (view, signals[NEW_TAB], 0, uri,
|
||||
view->open_tabs_in_the_background);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue