2007-07-23 [colin] 2.10.0cvs58
[claws.git] / src / gtk / quicksearch.c
index 3fdaf510be1218aab6f71293837e7308481f8b3d..80122345e5081efc9613a0c09ce8ab3a164b3474 100644 (file)
@@ -264,7 +264,7 @@ static gboolean searchbar_pressed(GtkWidget *widget, GdkEventKey *event,
                return TRUE;
        }
 
-       if (event != NULL && event->keyval == GDK_Return) {
+       if (event != NULL && (event->keyval == GDK_Return || event->keyval == GDK_KP_Enter)) {
                if (quicksearch->press_timeout_id != -1) {
                        g_source_remove(quicksearch->press_timeout_id);
                        quicksearch->press_timeout_id = -1;