diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index a57508669..a6cd27d51 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -691,7 +691,7 @@ get_chromes_visibility (EphyWindow *window, if (ephy_embed_shell_get_mode (ephy_embed_shell_get_default ()) == EPHY_EMBED_SHELL_MODE_APPLICATION) { - *show_toolbar = FALSE; + *show_toolbar = TRUE; *show_tabsbar = FALSE; } else @@ -3975,6 +3975,11 @@ ephy_window_constructor (GType type, mode = ephy_embed_shell_get_mode (ephy_embed_shell_get_default ()); if (mode == EPHY_EMBED_SHELL_MODE_APPLICATION) { + /* We don't need to show the page menu in web application mode. */ + action = gtk_action_group_get_action (toolbar_action_group, "PageMenu"); + ephy_action_change_sensitivity_flags (action, SENS_FLAG_CHROME, TRUE); + gtk_action_set_visible (action, FALSE); + action = gtk_action_group_get_action (toolbar_action_group, "FileNewTab"); ephy_action_change_sensitivity_flags (action, SENS_FLAG_CHROME, TRUE); |