diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sbmanager.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c index eb8c075..01fce69 100644 --- a/src/sbmanager.c +++ b/src/sbmanager.c @@ -935,6 +935,11 @@ static gboolean item_button_press_cb(ClutterActor *actor, ClutterButtonEvent *ev return FALSE; } + /* discard double clicks */ + if (event->click_count > 1) { + return FALSE; + } + SBItem *item = (SBItem*)user_data; char *strval = sbitem_get_display_name(item); @@ -989,6 +994,11 @@ static gboolean item_button_release_cb(ClutterActor *actor, ClutterButtonEvent * return FALSE; } + /* discard double clicks */ + if (event->click_count > 1) { + return FALSE; + } + SBItem *item = (SBItem*)user_data; char *strval = sbitem_get_display_name(item); |