aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/mainwindow.c3
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f3a6557c..3c81ccd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-02-02
+ * src/mainwindow.c: main_window_key_pressed(): handle Tab key as a
+ special case.
+
+2006-02-02
+
* src/inc.c
src/trayicon.c
src/gtkutils.[ch]
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 2861b0ec..9f723d5d 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2006-02-02
+ * src/mainwindow.c: main_window_key_pressed(): タブキーを特別なケース
+ として処理。
+
+2006-02-02
+
* src/inc.c
src/trayicon.c
src/gtkutils.[ch]
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);