forked from enlightenment/enlightenment
do not advertise luncher grid or sysinfo for gadget sites with orient
these are only feasible for non-bar sites
This commit is contained in:
parent
6a1d0226ed
commit
a441d4d22a
|
@ -706,10 +706,11 @@ grid_reorder(Instance *inst)
|
|||
}
|
||||
|
||||
EINTERN Evas_Object *
|
||||
grid_create(Evas_Object *parent, int *id, E_Gadget_Site_Orient orient EINA_UNUSED)
|
||||
grid_create(Evas_Object *parent, int *id, E_Gadget_Site_Orient orient)
|
||||
{
|
||||
Instance *inst;
|
||||
|
||||
if (orient) return NULL;
|
||||
inst = E_NEW(Instance, 1);
|
||||
inst->size = 0;
|
||||
inst->resize_job = NULL;
|
||||
|
|
|
@ -147,10 +147,12 @@ _conf_item_get(int *id)
|
|||
}
|
||||
|
||||
Evas_Object *
|
||||
sysinfo_create(Evas_Object *parent, int *id, E_Gadget_Site_Orient orient EINA_UNUSED)
|
||||
sysinfo_create(Evas_Object *parent, int *id, E_Gadget_Site_Orient orient)
|
||||
{
|
||||
Instance *inst;
|
||||
|
||||
if (orient) return NULL;
|
||||
|
||||
inst = E_NEW(Instance, 1);
|
||||
inst->cfg = _conf_item_get(id);
|
||||
*id = inst->cfg->id;
|
||||
|
|
Loading…
Reference in New Issue