forked from enlightenment/enlightenment
Revert a 13 months old commit by englebass
Messagge was: module unload will delete gadcons, so we need to cleanup in gadman as well. This cause all my gadget to be deleted when I switch from 1 monitor to 2 monitors (while e is running). This probably occcur also when switching resolution. Also I don't like all the gadgets configs to be deleted when the gadman module is unloaded, we have a conservative approch with gadget config, so don't see the reason to delete all my gadget here. DaveMDS SVN revision: 67251
This commit is contained in:
parent
d651ea3d68
commit
7a4ab7417a
|
@ -188,7 +188,6 @@ gadman_gadget_place(E_Config_Gadcon_Client *cf, Gadman_Layer_Type layer, E_Zone
|
||||||
/* init Gadcon_Client */
|
/* init Gadcon_Client */
|
||||||
gcc = cc->func.init(gc, cf->name, cf->id, cc->default_style);
|
gcc = cc->func.init(gc, cf->name, cf->id, cc->default_style);
|
||||||
if (!gcc) return NULL;
|
if (!gcc) return NULL;
|
||||||
e_object_del_func_set(E_OBJECT(gcc), E_OBJECT_CLEANUP_FUNC(gadman_gadget_del));
|
|
||||||
gcc->cf = cf;
|
gcc->cf = cf;
|
||||||
gcc->client_class = cc;
|
gcc->client_class = cc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue