aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-lockdown.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@mail.utexas.edu>2005-11-13 04:48:16 +0800
committerPhilip Langdale <philipl@src.gnome.org>2005-11-13 04:48:16 +0800
commitda8c338ff084b90e43c2333b91bdcde8d765ff00 (patch)
treefe7a7429cff1800e2839ac7aa8a5c30919e6c744 /src/ephy-lockdown.c
parentd211a9678ff2a47bfcf6ce2ede0979f01f536fe9 (diff)
downloadgsoc2013-epiphany-da8c338ff084b90e43c2333b91bdcde8d765ff00.tar.gz
gsoc2013-epiphany-da8c338ff084b90e43c2333b91bdcde8d765ff00.tar.zst
gsoc2013-epiphany-da8c338ff084b90e43c2333b91bdcde8d765ff00.zip
Remove accelerator actions for extra keybindings.
2005-11-12 Philip Langdale <philipl@mail.utexas.edu> * data/ui/epiphany-ui.xml: Remove accelerator actions for extra keybindings. * src/ephy-lockdown.c: (update_window): Don't manipulate removed "FileSave" action. * src/ephy-toolbar.c * src/ephy-toolbar.h: (ephy_toolbar_get_action_group): Add getter for the toolbar's action group. * src/ephy-window.c: (ephy_window_key_press_event): Transition over to the Galeon mechanism for handling extra keybindings. This maps the keybindings to actions so that no extra actions are required. The only subtlety is that some of the actions come from the toolbar, so access to its action group is required. * src/window-commands.c * src/window-commands.h: (window_cmd_go_back/forward/home): Remove the now unsued back/forward/home callbacks.
Diffstat (limited to 'src/ephy-lockdown.c')
-rw-r--r--src/ephy-lockdown.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 5af6216b4..48f6f5e1a 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -182,8 +182,6 @@ update_window (EphyWindow *window,
disabled = eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_SAVE_TO_DISK);
action = gtk_action_group_get_action (action_group, "FileSaveAs");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
- action = gtk_action_group_get_action (action_group, "FileSave");
- ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (popups_action_group, "DownloadLink");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (popups_action_group, "DownloadLinkAs");