diff options
author | Jean-François Rameau <jframeau@cvs.gnome.org> | 2006-09-25 03:59:37 +0800 |
---|---|---|
committer | Jean-François Rameau <jframeau@src.gnome.org> | 2006-09-25 03:59:37 +0800 |
commit | 575feabefc7e27e9e0b8cd5e7aac4d54cd69a6a4 (patch) | |
tree | e9287933d2908e0521b9df7119c32370dbe9c3ff /src/window-commands.c | |
parent | 93435055701bffb38039ea16069a796aca256246 (diff) | |
download | gsoc2013-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/window-commands.c')
-rw-r--r-- | src/window-commands.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index c12bfd746..97f15d709 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -203,35 +203,6 @@ window_cmd_view_reload (GtkAction *action, } void -window_cmd_file_new_window (GtkAction *action, - EphyWindow *window) -{ - EphyTab *tab; - - tab = ephy_window_get_active_tab (window); - g_return_if_fail (tab != NULL); - - ephy_shell_new_tab (ephy_shell, window, tab, NULL, - EPHY_NEW_TAB_NEW_PAGE | - EPHY_NEW_TAB_IN_NEW_WINDOW); -} - -void -window_cmd_file_new_tab (GtkAction *action, - EphyWindow *window) -{ - EphyTab *tab; - - tab = ephy_window_get_active_tab (window); - g_return_if_fail (tab != NULL); - - ephy_shell_new_tab (ephy_shell, window, tab, NULL, - EPHY_NEW_TAB_NEW_PAGE | - EPHY_NEW_TAB_IN_EXISTING_WINDOW | - EPHY_NEW_TAB_JUMP); -} - -void window_cmd_go_bookmarks (GtkAction *action, EphyWindow *window) { |