diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-06-09 05:27:18 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-06-09 05:27:18 +0800 |
commit | 5a5019951143ed50de6271c7631fc3d20673a7cb (patch) | |
tree | fa6aeb5c713504a1605d3aaa40127becf00a42c8 /src/window-commands.c | |
parent | d6ce392e91751470ca20c2aa935da6ba8304b43b (diff) | |
download | gsoc2013-epiphany-5a5019951143ed50de6271c7631fc3d20673a7cb.tar gsoc2013-epiphany-5a5019951143ed50de6271c7631fc3d20673a7cb.tar.gz gsoc2013-epiphany-5a5019951143ed50de6271c7631fc3d20673a7cb.tar.bz2 gsoc2013-epiphany-5a5019951143ed50de6271c7631fc3d20673a7cb.tar.lz gsoc2013-epiphany-5a5019951143ed50de6271c7631fc3d20673a7cb.tar.xz gsoc2013-epiphany-5a5019951143ed50de6271c7631fc3d20673a7cb.tar.zst gsoc2013-epiphany-5a5019951143ed50de6271c7631fc3d20673a7cb.zip |
Handle Ctrl-F like / to open the find bar without focusing it. Fixes link
2005-06-08 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-window.c:
* src/ephy-window.h:
* src/epiphany.defs:
* src/window-commands.c: (window_cmd_edit_select_all),
(window_cmd_edit_find):
Handle Ctrl-F like / to open the find bar without focusing it.
Fixes link activation while finding.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 7f4893aab..7b197f9d8 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -60,13 +60,6 @@ #include <glib/gi18n.h> void -window_cmd_edit_find (GtkAction *action, - EphyWindow *window) -{ - ephy_window_find (window); -} - -void window_cmd_file_print_setup (GtkAction *action, EphyWindow *window) { @@ -557,6 +550,16 @@ window_cmd_edit_select_all (GtkAction *action, } void +window_cmd_edit_find (GtkAction *action, + EphyWindow *window) +{ + EphyFindToolbar *toolbar; + + toolbar = EPHY_FIND_TOOLBAR (ephy_window_get_find_toolbar (window)); + ephy_find_toolbar_open (toolbar, FALSE, FALSE); +} + +void window_cmd_edit_find_next (GtkAction *action, EphyWindow *window) { |