hide ibar menu when its gadget menu is opened

one menu at a time.

T744 maybe?
This commit is contained in:
Mike Blumenkrantz 2014-01-17 19:07:11 -05:00
parent a93880ade2
commit e757c67b31
1 changed files with 5 additions and 0 deletions

View File

@ -1400,6 +1400,11 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
char buf[256];
int cx, cy;
E_FREE_FUNC(ic->show_timer, ecore_timer_del);
E_FREE_FUNC(ic->hide_timer, ecore_timer_del);
E_FREE_FUNC(ic->timer, ecore_timer_del);
if (ic->menu)
_ibar_icon_menu_hide(ic, ic->menu_grabbed);
m = e_menu_new();
/* FIXME: other icon options go here too */