fix focus loss issue with the completion widget

This commit is contained in:
Daniel Micay 2012-08-14 23:52:28 -04:00
parent 8fb9aad003
commit 2865781c70
1 changed files with 3 additions and 0 deletions

View File

@ -432,6 +432,9 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_panel_in
} else if (event->keyval == GDK_KEY_ISO_Left_Tab) {
synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Up);
return TRUE;
} else if (event->keyval == GDK_KEY_Down) {
// this stops the down key from leaving the GtkEntry...
event->hardware_keycode = 0;
}
}