aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-lockdown.c
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2006-09-25 03:59:37 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2006-09-25 03:59:37 +0800
commit575feabefc7e27e9e0b8cd5e7aac4d54cd69a6a4 (patch)
treee9287933d2908e0521b9df7119c32370dbe9c3ff /src/ephy-lockdown.c
parent93435055701bffb38039ea16069a796aca256246 (diff)
downloadgsoc2013-epiphany-575feabefc7e27e9e0b8cd5e7aac4d54cd69a6a4.tar.gz
gsoc2013-epiphany-575feabefc7e27e9e0b8cd5e7aac4d54cd69a6a4.tar.zst
gsoc2013-epiphany-575feabefc7e27e9e0b8cd5e7aac4d54cd69a6a4.zip
Add middle-click on New Tab/Window button to open URL on clipboard. Fix
2006-09-24 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-window.c: (ephy_window_constructor): * src/ephy-lockdown.c: (update_window): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_new_tab): * src/window-commands.h: (window_cmd_file_new_window), (window_cmd_file_new_tab): * src/ephy-toolbar.c: (ephy_toolbar_set_window): * src/ephy-home-action.c: (ephy_home_action_activate): Add middle-click on New Tab/Window button to open URL on clipboard. Fix bug 149715. Both New Tab and New Window actions are now EphyHomeAction.
Diffstat (limited to 'src/ephy-lockdown.c')
-rw-r--r--src/ephy-lockdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 6c880d413..10753d2af 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -197,7 +197,7 @@ update_window (EphyWindow *window,
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
fullscreen = eel_gconf_get_boolean (CONF_LOCKDOWN_FULLSCREEN);
- action = gtk_action_group_get_action (action_group, "FileNewWindow");
+ action = gtk_action_group_get_action (toolbar_action_group, "FileNewWindow");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, fullscreen);
action = gtk_action_group_get_action (action_group, "ViewFullscreen");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, fullscreen);