[epiphany] ephy-window: make sure to hide all chrome in application mode



commit 579ae57b780cfafafb63ec48b37f9d8e62dd8653
Author: Xan Lopez <xan igalia com>
Date:   Tue Jan 10 18:40:57 2012 +0100

    ephy-window: make sure to hide all chrome in application mode
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667634

 src/ephy-window.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 59bc6b9..3b711aa 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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]