forked from enlightenment/enlightenment
block pager gadgets on desklock sites
This commit is contained in:
parent
5f75193054
commit
e0ff23d83b
|
@ -2965,6 +2965,7 @@ pager_create(Evas_Object *parent, int *id, E_Gadget_Site_Orient orient EINA_UNUS
|
||||||
Evas_Object *o;
|
Evas_Object *o;
|
||||||
Instance *inst;
|
Instance *inst;
|
||||||
|
|
||||||
|
if (e_gadget_site_is_desklock(parent)) return NULL;
|
||||||
if (*id == 0) *id = 1;
|
if (*id == 0) *id = 1;
|
||||||
inst = E_NEW(Instance, 1);
|
inst = E_NEW(Instance, 1);
|
||||||
p = _pager_new(evas_object_evas_get(parent), EINA_FALSE);
|
p = _pager_new(evas_object_evas_get(parent), EINA_FALSE);
|
||||||
|
|
Loading…
Reference in New Issue