forked from enlightenment/enlightenment
ensure gadman gadget is not already in waiting list before adding
SVN revision: 74479
This commit is contained in:
parent
5070653af2
commit
f473e943ee
|
@ -208,7 +208,8 @@ gadman_gadget_place(E_Gadcon_Client *gcc, E_Config_Gadcon_Client *cf, Gadman_Lay
|
||||||
}
|
}
|
||||||
if (!cc)
|
if (!cc)
|
||||||
{
|
{
|
||||||
gc->waiting_classes = eina_list_append(gc->waiting_classes, cf);
|
if (!eina_list_data_find(gc->waiting_classes, cf))
|
||||||
|
gc->waiting_classes = eina_list_append(gc->waiting_classes, cf);
|
||||||
e_gadcon_custom_populate_request(gc);
|
e_gadcon_custom_populate_request(gc);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue