replace hardware_keycode hack to stop focus cycle

This commit is contained in:
Daniel Micay 2012-09-18 08:13:55 -04:00
parent ecab4a6dba
commit 742ed9c6c4
1 changed files with 1 additions and 2 deletions

View File

@ -597,8 +597,7 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_panel_in
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;
return TRUE; // no focus cycling
}
}