aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index c510adbf4..9babb803b 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -717,6 +717,16 @@ ephy_shell_new_tab_full (EphyShell *shell,
ephy_gui_window_update_user_time (GTK_WIDGET (window), user_time);
+ if ((flags & EPHY_NEW_TAB_DONT_SHOW_WINDOW) == 0)
+ {
+ gtk_widget_show (GTK_WIDGET (window));
+ }
+
+ if (flags & EPHY_NEW_TAB_FULLSCREEN_MODE)
+ {
+ gtk_window_fullscreen (GTK_WINDOW (window));
+ }
+
if (flags & EPHY_NEW_TAB_HOME_PAGE ||
flags & EPHY_NEW_TAB_NEW_PAGE)
{
@@ -730,16 +740,6 @@ ephy_shell_new_tab_full (EphyShell *shell,
ephy_embed_load_url (embed, url);
}
- if ((flags & EPHY_NEW_TAB_DONT_SHOW_WINDOW) == 0)
- {
- gtk_widget_show (GTK_WIDGET (window));
- }
-
- if (flags & EPHY_NEW_TAB_FULLSCREEN_MODE)
- {
- gtk_window_fullscreen (GTK_WINDOW (window));
- }
-
return tab;
}