aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-lockdown.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@mail.utexas.edu>2005-10-22 00:15:10 +0800
committerPhilip Langdale <philipl@src.gnome.org>2005-10-22 00:15:10 +0800
commite5bda8ab43ca8f63376714a00dea3228ada16a9e (patch)
tree2bba75a47a2a10cded18cc6785177133eb9f2a92 /src/ephy-lockdown.c
parent8e4b79936d79e1fb33947fbfbea1f69141488790 (diff)
downloadgsoc2013-epiphany-e5bda8ab43ca8f63376714a00dea3228ada16a9e.tar
gsoc2013-epiphany-e5bda8ab43ca8f63376714a00dea3228ada16a9e.tar.gz
gsoc2013-epiphany-e5bda8ab43ca8f63376714a00dea3228ada16a9e.tar.bz2
gsoc2013-epiphany-e5bda8ab43ca8f63376714a00dea3228ada16a9e.tar.lz
gsoc2013-epiphany-e5bda8ab43ca8f63376714a00dea3228ada16a9e.tar.xz
gsoc2013-epiphany-e5bda8ab43ca8f63376714a00dea3228ada16a9e.tar.zst
gsoc2013-epiphany-e5bda8ab43ca8f63376714a00dea3228ada16a9e.zip
Point main menu UI at toolbar actions. Don't try and change the state of
2005-10-21 Philip Langdale <philipl@mail.utexas.edu> * data/ui/epiphany-ui.xml: Point main menu UI at toolbar actions. * src/ephy-lockdown.c: (update_window): Don't try and change the state of the now non-existent menu specific actions. * src/ephy-toolbar.c (ephy_toolbar_set_window): Sync up toolbar actions so that they will appear in menus to be identical to the old menu specific actions. This just means adding accelerators and shortcuts and adjusting tooltip text. * src/ephy-window.c (sync_tab_navigation): Remove the menu specific actions and consequently, don't try to manipulate them. * src/window-commands.c * src/window-commands.h: (window_cmd_go_up): Remove unused callback.
Diffstat (limited to 'src/ephy-lockdown.c')
-rw-r--r--src/ephy-lockdown.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 2495a7b46..5af6216b4 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -158,20 +158,14 @@ update_window (EphyWindow *window,
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (toolbar_action_group, "Location");
update_location_editable (window, action, !disabled);
- action = gtk_action_group_get_action (action_group, "GoUp");
- ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (toolbar_action_group, "NavigationUp");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
disabled = eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_HISTORY);
action = gtk_action_group_get_action (action_group, "GoHistory");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
- action = gtk_action_group_get_action (action_group, "GoBack");
- ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (toolbar_action_group, "NavigationBack");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
- action = gtk_action_group_get_action (action_group, "GoForward");
- ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (toolbar_action_group, "NavigationForward");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);