aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-04-07 13:58:43 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-06-15 07:16:09 +0800
commitbab0d69b121a3693295e3f7a71ba9367cb65445b (patch)
tree341e37315b2e9107d83127e7ebb1277a8cad18d5 /src/ephy-shell.c
parent9954541fdc25579033d396554717b4e4c30c8cfb (diff)
downloadgsoc2013-epiphany-bab0d69b121a3693295e3f7a71ba9367cb65445b.tar
gsoc2013-epiphany-bab0d69b121a3693295e3f7a71ba9367cb65445b.tar.gz
gsoc2013-epiphany-bab0d69b121a3693295e3f7a71ba9367cb65445b.tar.bz2
gsoc2013-epiphany-bab0d69b121a3693295e3f7a71ba9367cb65445b.tar.lz
gsoc2013-epiphany-bab0d69b121a3693295e3f7a71ba9367cb65445b.tar.xz
gsoc2013-epiphany-bab0d69b121a3693295e3f7a71ba9367cb65445b.tar.zst
gsoc2013-epiphany-bab0d69b121a3693295e3f7a71ba9367cb65445b.zip
ephy-web-view: remove unused EphyWebViewChrome elements
https://bugzilla.gnome.org/show_bug.cgi?id=676904
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,