summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neumair <cneumair@src.gnome.org>2005-11-13 17:32:59 +0000
committerChristian Neumair <cneumair@src.gnome.org>2005-11-13 17:32:59 +0000
commit8d0918c0076ad343f2a846b9183a3580c41c519a (patch)
tree264fd9fc61d4ee9140a10c21cc5922baa812992c
parent73c957e8f9a17656abe009bac6afd6d2f29d3e69 (diff)
downloadnautilus-8d0918c0076ad343f2a846b9183a3580c41c519a.tar.gz
Actually commit.
-rw-r--r--libnautilus-private/nautilus-icon-container.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index 19afe3446..3fb8a75c4 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -3964,13 +3964,19 @@ nautilus_icon_container_search_key_press_event (GtkWidget *widget,
retval = TRUE;
}
+ if (((event->state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) == (GDK_CONTROL_MASK | GDK_SHIFT_MASK))
+ && (event->keyval == GDK_g || event->keyval == GDK_G)) {
+ nautilus_icon_container_search_move (widget, container, TRUE);
+ retval = TRUE;
+ }
+
/* select next matching iter */
if (event->keyval == GDK_Down || event->keyval == GDK_KP_Down) {
nautilus_icon_container_search_move (widget, container, FALSE);
retval = TRUE;
}
- if ((event->state & GDK_CONTROL_MASK) == GDK_CONTROL_MASK
+ if (((event->state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) == GDK_CONTROL_MASK)
&& (event->keyval == GDK_g || event->keyval == GDK_G)) {
nautilus_icon_container_search_move (widget, container, FALSE);
retval = TRUE;