Revert "replace hardware_keycode hack to stop focus cycle"

This reverts commit 742ed9c6c4.
This commit is contained in:
Daniel Micay 2012-09-18 16:22:11 -04:00
parent f913bc054d
commit 5fd64fb634
1 changed files with 2 additions and 1 deletions

View File

@ -597,7 +597,8 @@ 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) {
return TRUE; // no focus cycling
// this stops the down key from leaving the GtkEntry...
event->hardware_keycode = 0;
}
}