summaryrefslogtreecommitdiff
path: root/src/eom-sidebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-sidebar.c')
-rw-r--r--src/eom-sidebar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eom-sidebar.c b/src/eom-sidebar.c
index b61b07b..8d8b8b0 100644
--- a/src/eom-sidebar.c
+++ b/src/eom-sidebar.c
@@ -288,10 +288,10 @@ eom_sidebar_select_button_key_press_cb (GtkWidget *widget,
{
EomSidebar *eom_sidebar = EOM_SIDEBAR (user_data);
- if (event->keyval == GDK_space ||
- event->keyval == GDK_KP_Space ||
- event->keyval == GDK_Return ||
- event->keyval == GDK_KP_Enter) {
+ if (event->keyval == GDK_KEY_space ||
+ event->keyval == GDK_KEY_KP_Space ||
+ event->keyval == GDK_KEY_Return ||
+ event->keyval == GDK_KEY_KP_Enter) {
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE);
gtk_menu_popup (GTK_MENU (eom_sidebar->priv->menu),