add middle mouse binding for ibar exec menu

this allows for quick, timer-less, access to the menu
This commit is contained in:
Thomas Gstädtner 2013-06-15 10:14:09 +01:00 committed by discomfitor
parent 89b501df02
commit 934bae833d
1 changed files with 4 additions and 0 deletions

View File

@ -1028,6 +1028,10 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
if (!ic->timer)
ic->timer = ecore_timer_add(0.35, _ibar_cb_icon_timer_cb, ic);
}
else if (ev->button == 2)
{
_ibar_cb_icon_timer_cb(ic);
}
else if (ev->button == 3)
{
E_Menu *m, *mo;