aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-19 18:50:42 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-19 18:50:42 -0400
commite88a842c9f502810f58ab478e009161f92dc9884 (patch)
treebf6077a911b65ddeb740bc1674d841b43ed04761 /src
parent80a024e43ca92c710c3eb72bd02ffeb642950e6f (diff)
downloadayatana-ido-e88a842c9f502810f58ab478e009161f92dc9884.tar.gz
ayatana-ido-e88a842c9f502810f58ab478e009161f92dc9884.tar.bz2
ayatana-ido-e88a842c9f502810f58ab478e009161f92dc9884.zip
ido_playback_menu_item_parent_key_press_event: be more explicit
Diffstat (limited to 'src')
-rw-r--r--src/idoplaybackmenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c
index 1e47968..662ceaf 100644
--- a/src/idoplaybackmenuitem.c
+++ b/src/idoplaybackmenuitem.c
@@ -149,7 +149,7 @@ ido_playback_menu_item_parent_key_press_event (GtkWidget *widget,
self->cur_pushed_button = BUTTON_NONE;
}
- if (self->cur_pushed_button)
+ if (self->cur_pushed_button != BUTTON_NONE)
{
self->keyboard_activated = TRUE;
gtk_widget_queue_draw (widget);