fix focus loss issue with the completion widget
This commit is contained in:
parent
8fb9aad003
commit
2865781c70
|
@ -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) {
|
} else if (event->keyval == GDK_KEY_ISO_Left_Tab) {
|
||||||
synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Up);
|
synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Up);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
} else if (event->keyval == GDK_KEY_Down) {
|
||||||
|
// this stops the down key from leaving the GtkEntry...
|
||||||
|
event->hardware_keycode = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue