diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-24 11:01:59 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-24 11:01:59 -0400 |
commit | cd88b8ae508cd3cb18533dbaeb6d3621992dee9c (patch) | |
tree | 45e36cb4908ab2c32b07d289db6e8b1ea1fe67ce /src | |
parent | 8fe2bdf722333305bdc4108c0a6a651cd17dbf78 (diff) | |
download | ayatana-ido-cd88b8ae508cd3cb18533dbaeb6d3621992dee9c.tar.gz ayatana-ido-cd88b8ae508cd3cb18533dbaeb6d3621992dee9c.tar.bz2 ayatana-ido-cd88b8ae508cd3cb18533dbaeb6d3621992dee9c.zip |
Also allow using + and - keys to change the slider
Diffstat (limited to 'src')
-rw-r--r-- | src/idoscalemenuitem.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c index 176d8d7..dff4cb0 100644 --- a/src/idoscalemenuitem.c +++ b/src/idoscalemenuitem.c @@ -553,10 +553,14 @@ ido_scale_menu_item_parent_key_press_event (GtkWidget *widget, switch (event->keyval) { case GDK_KEY_Left: + case GDK_KEY_minus: + case GDK_KEY_KP_Subtract: GTK_RANGE_GET_CLASS (priv->scale)->move_slider (GTK_RANGE (priv->scale), GTK_SCROLL_STEP_LEFT); return TRUE; case GDK_KEY_Right: + case GDK_KEY_plus: + case GDK_KEY_KP_Add: GTK_RANGE_GET_CLASS (priv->scale)->move_slider (GTK_RANGE (priv->scale), GTK_SCROLL_STEP_RIGHT); return TRUE; } |