forked from enlightenment/enlightenment
fix gadman placement of multiple clients of same class, also fix shadow warning
SVN revision: 74508
This commit is contained in:
parent
4ffafd3313
commit
250ea631d2
|
@ -169,7 +169,7 @@ gadman_populate_class(void *data, E_Gadcon *gc, const E_Gadcon_Client_Class *cc)
|
||||||
if ((!gcc) || (ll && (!eina_list_data_find(ll, cf_gcc))))
|
if ((!gcc) || (ll && (!eina_list_data_find(ll, cf_gcc))))
|
||||||
{
|
{
|
||||||
gadman_gadget_place(gcc, cc, cf_gcc, layer, gc->zone);
|
gadman_gadget_place(gcc, cc, cf_gcc, layer, gc->zone);
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
if ((gcc->cf) && (gcc->cf->id) && (cf_gcc->id))
|
if ((gcc->cf) && (gcc->cf->id) && (cf_gcc->id))
|
||||||
if (gcc->cf->id == cf_gcc->id) break;
|
if (gcc->cf->id == cf_gcc->id) break;
|
||||||
|
@ -253,7 +253,6 @@ gadman_gadget_place(E_Gadcon_Client *gcc, const E_Gadcon_Client_Class *cc, E_Con
|
||||||
edje_object_signal_emit(gcc->o_frame, "e,state,visibility,hide", "e");
|
edje_object_signal_emit(gcc->o_frame, "e,state,visibility,hide", "e");
|
||||||
if (cc->name)
|
if (cc->name)
|
||||||
{
|
{
|
||||||
Eina_List *l;
|
|
||||||
l = eina_hash_find(_gadman_gadgets, cc->name);
|
l = eina_hash_find(_gadman_gadgets, cc->name);
|
||||||
eina_hash_set(_gadman_gadgets, cc->name, eina_list_append(l, gcc->cf));
|
eina_hash_set(_gadman_gadgets, cc->name, eina_list_append(l, gcc->cf));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue