diff options
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r-- | src/ephy-shell.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 04ac7eb6e..51b53c7d6 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -521,14 +521,22 @@ ephy_shell_new_tab (EphyShell *shell, { grouped = TRUE; } - + tab = ephy_tab_new (); embed = ephy_tab_get_embed (tab); gtk_widget_show (GTK_WIDGET(embed)); ephy_window_add_tab (window, tab, grouped, jump_to); - gtk_widget_show (GTK_WIDGET(window)); + + if (flags & EPHY_NEW_TAB_RAISE_WINDOW) + { + gtk_window_present (GTK_WINDOW(window)); + } + else + { + gtk_widget_show (GTK_WIDGET(window)); + } if (flags & EPHY_NEW_TAB_HOMEPAGE) { |