Check for mouse button number so we can get a right-click menu.
SVN revision: 43959
This commit is contained in:
parent
ad4fcc5a6a
commit
3c1c44191a
|
@ -111,10 +111,19 @@ _gc_id_new(E_Gadcon_Client_Class *client_class)
|
||||||
static void
|
static void
|
||||||
_cb_mouse_up(void *data, Evas *evas, Evas_Object *obj, void *event_info)
|
_cb_mouse_up(void *data, Evas *evas, Evas_Object *obj, void *event_info)
|
||||||
{
|
{
|
||||||
|
Evas_Event_Mouse_Up *ev;
|
||||||
E_Action *a;
|
E_Action *a;
|
||||||
|
|
||||||
a = e_action_find("configuration");
|
ev = event_info;
|
||||||
if ((a) && (a->func.go)) a->func.go(NULL, NULL);
|
if (ev->button == 1)
|
||||||
|
{
|
||||||
|
a = e_action_find("configuration");
|
||||||
|
if ((a) && (a->func.go)) a->func.go(NULL, NULL);
|
||||||
|
}
|
||||||
|
else if (ev->button == 3)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/**/
|
/**/
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue