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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 35325b8cf..36e453f90 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -514,10 +514,9 @@ ephy_shell_new_window_cb (EphyEmbedSingle *single,
parent = gtk_widget_get_toplevel (GTK_WIDGET (parent_embed));
}
- /* what's a popup ? ATM, any window opened with menubar toggled on
- * is *not* a popup
+ /* Any window opened with a toolbar is *not* a popup.
*/
- is_popup = (chromemask & EPHY_WEB_VIEW_CHROME_MENUBAR) == 0;
+ is_popup = (chromemask & EPHY_WEB_VIEW_CHROME_TOOLBAR) == 0;
return ephy_shell_new_tab_full
(shell,