aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-19 16:34:34 +0800
committerXan Lopez <xan@igalia.com>2013-03-19 16:34:34 +0800
commit1068d46a3455abc13bfe0a4edaf64cea9f714b0a (patch)
tree43fbbfeabed988f90f726586bc16b2dd97fbf9e1 /src
parentc0d29768abbf6c740c243a464167df7366243590 (diff)
downloadgsoc2013-epiphany-1068d46a3455abc13bfe0a4edaf64cea9f714b0a.tar.gz
gsoc2013-epiphany-1068d46a3455abc13bfe0a4edaf64cea9f714b0a.tar.zst
gsoc2013-epiphany-1068d46a3455abc13bfe0a4edaf64cea9f714b0a.zip
ephy-window: disable a few more actions in application mode
Do not allow to launch bookmarks, history, preferences and personal data editors through keyboard shortcuts in app mode. https://bugzilla.gnome.org/show_bug.cgi?id=690191
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ef3a74837..b01909036 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3730,10 +3730,14 @@ setup_toolbar (EphyWindow *window)
}
static const char* disabled_actions_for_app_mode[] = { "FileOpen",
- "FileSaveAs",
- "FileSaveAsApplication",
- "ViewEncoding",
- "FileBookmarkPage" };
+ "FileSaveAs",
+ "FileSaveAsApplication",
+ "ViewEncoding",
+ "FileBookmarkPage",
+ "EditBookmarks",
+ "EditHistory",
+ "EditPreferences",
+ "EditPersonalData" };
static gboolean
_gtk_css_provider_load_from_resource (GtkCssProvider* provider,