diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2007-05-05 04:00:04 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-05-05 04:00:04 +0800 |
commit | fd9a5dcbbd70b6133daf31c7765ede8cdc43d2ab (patch) | |
tree | 5e2adc63964dae8fe6763caa5c220c04c76bb547 | |
parent | be0b0b965e05963d42b9bf21899b4675b0a18e24 (diff) | |
download | gsoc2013-epiphany-fd9a5dcbbd70b6133daf31c7765ede8cdc43d2ab.tar gsoc2013-epiphany-fd9a5dcbbd70b6133daf31c7765ede8cdc43d2ab.tar.gz gsoc2013-epiphany-fd9a5dcbbd70b6133daf31c7765ede8cdc43d2ab.tar.bz2 gsoc2013-epiphany-fd9a5dcbbd70b6133daf31c7765ede8cdc43d2ab.tar.lz gsoc2013-epiphany-fd9a5dcbbd70b6133daf31c7765ede8cdc43d2ab.tar.xz gsoc2013-epiphany-fd9a5dcbbd70b6133daf31c7765ede8cdc43d2ab.tar.zst gsoc2013-epiphany-fd9a5dcbbd70b6133daf31c7765ede8cdc43d2ab.zip |
Make Shift+Return find previous when searching. Patch by Robin Stocker.
2007-05-04 Diego Escalante Urrelo <diegoe@gnome.org>
* src/ephy-find-toolbar.c:
Make Shift+Return find previous when searching.
Patch by Robin Stocker.
Fixes #412033
svn path=/trunk/; revision=7021
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/ephy-find-toolbar.c | 8 |
2 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2007-05-04 Diego Escalante Urrelo <diegoe@gnome.org> + + * src/ephy-find-toolbar.c: + + Make Shift+Return find previous when searching. + Patch by Robin Stocker. + + Fixes #412033 + 2007-05-01 Xan Lopez <xan@gnome.org> * lib/widgets/ephy-location-entry.c: diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c index 7c1b85c19..9a016fa4b 100644 --- a/src/ephy-find-toolbar.c +++ b/src/ephy-find-toolbar.c @@ -257,6 +257,14 @@ entry_key_press_event_cb (GtkEntry *entry, { handled = ephy_embed_find_activate_link (get_find (toolbar), event->state); } + else if ((event->state & mask) == GDK_SHIFT_MASK && + (event->keyval == GDK_Return || + event->keyval == GDK_KP_Enter || + event->keyval == GDK_ISO_Enter)) + { + handled = TRUE; + g_signal_emit (toolbar, signals[PREVIOUS], 0); + } return handled; } |