aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.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-window.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-window.c')
-rw-r--r--src/ephy-window.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 553928d42..9d9948e2b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -234,15 +234,6 @@ static const GtkActionEntry ephy_menu_entries [] = {
/* Go menu */
- { "GoBack", GTK_STOCK_GO_BACK, N_("_Back"), "<alt>Left",
- N_("Go to the previous visited page"),
- G_CALLBACK (window_cmd_go_back) },
- { "GoForward", GTK_STOCK_GO_FORWARD, N_("_Forward"), "<alt>Right",
- N_("Go to the next visited page"),
- G_CALLBACK (window_cmd_go_forward) },
- { "GoUp", GTK_STOCK_GO_UP, N_("_Up"), "<alt>Up",
- N_("Go up one level"),
- G_CALLBACK (window_cmd_go_up) },
{ "GoLocation", NULL, N_("_Location..."), "<control>L",
N_("Go to a specified location"),
G_CALLBACK (window_cmd_go_location) },
@@ -1374,14 +1365,6 @@ sync_tab_navigation (EphyTab *tab,
forward = TRUE;
}
- action_group = window->priv->action_group;
- action = gtk_action_group_get_action (action_group, "GoUp");
- ephy_action_change_sensitivity_flags (action, SENS_FLAG_NAVIGATION, !up);
- action = gtk_action_group_get_action (action_group, "GoBack");
- ephy_action_change_sensitivity_flags (action, SENS_FLAG_NAVIGATION, !back);
- action = gtk_action_group_get_action (action_group, "GoForward");
- ephy_action_change_sensitivity_flags (action, SENS_FLAG_NAVIGATION, !forward);
-
ephy_toolbar_set_navigation_actions (window->priv->toolbar,
back, forward, up);
}