diff options
-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; } |