diff options
author | Philip Langdale <philipl@mail.utexas.edu> | 2005-11-13 04:48:16 +0800 |
---|---|---|
committer | Philip Langdale <philipl@src.gnome.org> | 2005-11-13 04:48:16 +0800 |
commit | da8c338ff084b90e43c2333b91bdcde8d765ff00 (patch) | |
tree | fe7a7429cff1800e2839ac7aa8a5c30919e6c744 /src/window-commands.c | |
parent | d211a9678ff2a47bfcf6ce2ede0979f01f536fe9 (diff) | |
download | gsoc2013-epiphany-da8c338ff084b90e43c2333b91bdcde8d765ff00.tar gsoc2013-epiphany-da8c338ff084b90e43c2333b91bdcde8d765ff00.tar.gz gsoc2013-epiphany-da8c338ff084b90e43c2333b91bdcde8d765ff00.tar.bz2 gsoc2013-epiphany-da8c338ff084b90e43c2333b91bdcde8d765ff00.tar.lz gsoc2013-epiphany-da8c338ff084b90e43c2333b91bdcde8d765ff00.tar.xz 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/window-commands.c')
-rw-r--r-- | src/window-commands.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 0b5a5fc8d..f6a698870 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -96,20 +96,6 @@ window_cmd_file_print (GtkAction *action, } void -window_cmd_go_back (GtkAction *action, - EphyWindow *window) -{ - EphyEmbed *embed; - - embed = ephy_window_get_active_embed (window); - g_return_if_fail (embed != NULL); - - gtk_widget_grab_focus (GTK_WIDGET (embed)); - - ephy_embed_go_back (embed); -} - -void window_cmd_file_send_to (GtkAction *action, EphyWindow *window) { @@ -137,20 +123,6 @@ window_cmd_file_send_to (GtkAction *action, g_free (url); } -void -window_cmd_go_forward (GtkAction *action, - EphyWindow *window) -{ - EphyEmbed *embed; - - embed = ephy_window_get_active_embed (window); - g_return_if_fail (embed != NULL); - - gtk_widget_grab_focus (GTK_WIDGET (embed)); - - ephy_embed_go_forward (embed); -} - static gboolean event_with_shift (void) { @@ -887,25 +859,3 @@ window_cmd_browse_with_caret (GtkAction *action, active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); eel_gconf_set_boolean (CONF_BROWSE_WITH_CARET, active); } - -#ifdef HAVE_X11_XF86KEYSYM_H -void -window_cmd_go_home (GtkAction *action, - EphyWindow *window) -{ - char *location; - - location = eel_gconf_get_string (CONF_GENERAL_HOMEPAGE); - - if (location == NULL || location[0] == '\0') - { - g_free (location); - - location = g_strdup ("about:blank"); - } - - ephy_window_load_url (window, location); - - g_free (location); -} -#endif /* HAVE_X11_XF86KEYSYM_H */ |