aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-02 06:47:04 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-02 06:47:04 +0000
commit03e0152db5ea1ceb60b689d0c1e33e6e68b1da37 (patch)
tree47fb8420715939c4d1ef06ad18e3cf641734bae2 /src/mainwindow.c
parent99c7931588e047db24b6c3bbfbcdcd462aa7763c (diff)
handle Tab key in quick search entry as a special case.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@963 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 3e312bce..e8230209 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -2707,6 +2707,9 @@ static gboolean main_window_key_pressed(GtkWidget *widget, GdkEventKey *event,
/* g_print("keyval: %d, state: %d\n", event->keyval, event->state); */
if ((event->state & (GDK_MOD1_MASK|GDK_CONTROL_MASK)) != 0)
return FALSE;
+ if (event->keyval == GDK_Tab || event->keyval == GDK_KP_Tab ||
+ event->keyval == GDK_ISO_Left_Tab)
+ return FALSE;
gtk_window_propagate_key_event(GTK_WINDOW(widget), event);