aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-lockdown.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-11-17 23:57:42 +0800
committerXan Lopez <xan@igalia.com>2011-12-03 23:16:44 +0800
commitaec912b5fc328171d989963421a6ceed0d8c6f03 (patch)
tree87a4f9862aafd75355b0084490953cf5cf50fd75 /src/ephy-lockdown.c
parent77ec3ecef9ac6d3d298b6ddd2f38bfebe3da7174 (diff)
downloadgsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar
gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.gz
gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.bz2
gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.lz
gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.xz
gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.zst
gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.zip
Remove toolbar editor
The UI is gone, but the infrastructure still persists (EggToolbarModel, etc). Further cleanups are possible. https://bugzilla.gnome.org/show_bug.cgi?id=664260
Diffstat (limited to 'src/ephy-lockdown.c')
-rw-r--r--src/ephy-lockdown.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 61aec8d86..54eb58a29 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -111,8 +111,6 @@ static const BindAction window_actions[] = {
{ EPHY_PREFS_LOCKDOWN_PRINT_SETUP, "FilePrintSetup", "sensitive" },
{ EPHY_PREFS_LOCKDOWN_COMMAND_LINE, "FilePrintSetup", "sensitive" },
- { EPHY_PREFS_LOCKDOWN_TOOLBAR_EDITING, "ViewToolbarEditor", "sensitive" },
-
{ EPHY_PREFS_LOCKDOWN_BOOKMARK_EDITING, "GoBookmarks", "sensitive" },
{ EPHY_PREFS_LOCKDOWN_BOOKMARK_EDITING, "FileBookmarkPage", "sensitive" },
@@ -144,12 +142,6 @@ static const BindAction special_toolbar_actions[] = {
{ EPHY_PREFS_LOCKDOWN_FULLSCREEN, "FileNewWindow", "sensitive" }
};
-static const BindAction toolbar_actions[] = {
- { EPHY_PREFS_LOCKDOWN_TOOLBAR_EDITING, "MoveToolItem", "sensitive" },
- { EPHY_PREFS_LOCKDOWN_TOOLBAR_EDITING, "RemoveToolItem", "sensitive" },
- { EPHY_PREFS_LOCKDOWN_TOOLBAR_EDITING, "RemoveToolbar", "sensitive" }
-};
-
static gboolean
sensitive_get_mapping (GValue *value,
GVariant *variant,
@@ -259,11 +251,6 @@ impl_attach_window (EphyExtension *extension,
bind_settings_and_actions (EPHY_SETTINGS_LOCKDOWN,
action_group, special_toolbar_actions,
G_N_ELEMENTS (special_toolbar_actions));
-
- action_group = find_action_group (manager, "ToolbarActions");
- bind_settings_and_actions (EPHY_SETTINGS_LOCKDOWN,
- action_group, toolbar_actions,
- G_N_ELEMENTS (toolbar_actions));
}
static void