diff options
-rw-r--r-- | src/ephy-window.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 05d9b88c0..957599554 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -3721,6 +3721,7 @@ static const char* disabled_actions_for_app_mode[] = { "FileOpen", "FileSaveAs", "FileSaveAsApplication", "ViewEncoding", + "ViewPageSource", "FileBookmarkPage", "EditBookmarks", "EditHistory", @@ -3946,6 +3947,14 @@ ephy_window_constructor (GType type, ephy_action_change_sensitivity_flags (action, SENS_FLAG_CHROME, TRUE); + action = gtk_action_group_get_action (priv->popups_action_group, "ContextBookmarkPage"); + ephy_action_change_sensitivity_flags (action, SENS_FLAG_CHROME, TRUE); + gtk_action_set_visible (action, FALSE); + + action = gtk_action_group_get_action (priv->popups_action_group, "InspectElement"); + ephy_action_change_sensitivity_flags (action, SENS_FLAG_CHROME, TRUE); + gtk_action_set_visible (action, FALSE); + for (i = 0; i < G_N_ELEMENTS (disabled_actions_for_app_mode); i++) { action = gtk_action_group_get_action (priv->action_group, |