aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-11 01:40:57 +0800
committerXan Lopez <xan@igalia.com>2012-01-11 01:40:57 +0800
commit579ae57b780cfafafb63ec48b37f9d8e62dd8653 (patch)
tree0815d1f550f7c4283fb7749e33fe8ee4ed4c6332 /src
parent3dc15936e2f77206f1dfaefacc030d009ae74b69 (diff)
downloadgsoc2013-epiphany-579ae57b780cfafafb63ec48b37f9d8e62dd8653.tar
gsoc2013-epiphany-579ae57b780cfafafb63ec48b37f9d8e62dd8653.tar.gz
gsoc2013-epiphany-579ae57b780cfafafb63ec48b37f9d8e62dd8653.tar.bz2
gsoc2013-epiphany-579ae57b780cfafafb63ec48b37f9d8e62dd8653.tar.lz
gsoc2013-epiphany-579ae57b780cfafafb63ec48b37f9d8e62dd8653.tar.xz
gsoc2013-epiphany-579ae57b780cfafafb63ec48b37f9d8e62dd8653.tar.zst
gsoc2013-epiphany-579ae57b780cfafafb63ec48b37f9d8e62dd8653.zip
ephy-window: make sure to hide all chrome in application mode
https://bugzilla.gnome.org/show_bug.cgi?id=667634
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 59bc6b958..3b711aaa0 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -788,7 +788,11 @@ get_chromes_visibility (EphyWindow *window,
}
if (ephy_embed_shell_get_mode (embed_shell) == EPHY_EMBED_SHELL_MODE_APPLICATION)
+ {
*show_menubar = FALSE;
+ *show_toolbar = FALSE;
+ *show_tabsbar = FALSE;
+ }
}
static void
@@ -3850,7 +3854,7 @@ ephy_window_constructor (GType type,
g_object_unref (css_provider);
g_object_unref (css_file);
- /* create the toolbars */
+ /* Setup the toolbar. */
priv->toolbar = setup_toolbar (window);
/* Initialize the menus */