parent
e6d3c12f76
commit
3bf3894d80
|
@ -282,11 +282,14 @@ static void
|
||||||
_fill_gadgets_list(Evas_Object *ilist)
|
_fill_gadgets_list(Evas_Object *ilist)
|
||||||
{
|
{
|
||||||
Eina_List *l = NULL;
|
Eina_List *l = NULL;
|
||||||
|
Evas *evas;
|
||||||
int w;
|
int w;
|
||||||
|
|
||||||
e_widget_ilist_freeze(ilist);
|
e_widget_ilist_freeze(ilist);
|
||||||
e_widget_ilist_clear(ilist);
|
e_widget_ilist_clear(ilist);
|
||||||
|
|
||||||
|
evas = evas_object_evas_get(ilist);
|
||||||
|
|
||||||
for (l = e_gadcon_provider_list(); l; l = l->next)
|
for (l = e_gadcon_provider_list(); l; l = l->next)
|
||||||
{
|
{
|
||||||
E_Gadcon_Client_Class *cc;
|
E_Gadcon_Client_Class *cc;
|
||||||
|
@ -296,7 +299,7 @@ _fill_gadgets_list(Evas_Object *ilist)
|
||||||
if (!(cc = l->data)) continue;
|
if (!(cc = l->data)) continue;
|
||||||
if (cc->func.label) lbl = cc->func.label(cc);
|
if (cc->func.label) lbl = cc->func.label(cc);
|
||||||
if (!lbl) lbl = cc->name;
|
if (!lbl) lbl = cc->name;
|
||||||
if (cc->func.icon) icon = cc->func.icon(cc, Man->gc->evas);
|
if (cc->func.icon) icon = cc->func.icon(cc, evas);
|
||||||
e_widget_ilist_append(ilist, icon, lbl, NULL, (void *)cc, NULL);
|
e_widget_ilist_append(ilist, icon, lbl, NULL, (void *)cc, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue