On Sun, May 3, 2009 at 12:52 PM, Diogo Dutra <diogo.c...@gmail.com> wrote:
> Hi guys,
>
> When I put the mixer module as gadget and restart E the gadget
> disappear. So the only way I can use the module is in a shelf.
>
> It just happen to me!?

Diego, thanks to your report I figured out a problem with e_gadcon.c
that was being exposed as this bug.

the problem was that modules called e_gadcon_provider_register() from
their e_modapi_init(),and the gadgets are being populated immediately,
but module init might not be finished by then. Most modules didn't
care as they set their stuff as globals instead of mod->data as mixer
did. As mixer did not had mixer_mod or mixer_mod->data set, it was
refusing to add gadgets at this time. It ended showing in shelves
since e_shelf_init() ended calling e_gadcon_populate() and so it was
loaded later.

Now everything is done in idler and problem should be fixed.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to