Re: [E-devel] Mixer module gadget problem

2009-05-19 Thread sda
On 20:51 Sun 17 May , Gustavo Sverzut Barbieri wrote:
> On Sun, May 3, 2009 at 12:52 PM, Diogo Dutra  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.

hi,

http://trac.enlightenment.org/e/ticket/318

looks like this one is related.

huge thanks for your support!
regards,
sda


--
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


Re: [E-devel] Mixer module gadget problem

2009-05-17 Thread Gustavo Sverzut Barbieri
On Sun, May 3, 2009 at 12:52 PM, Diogo Dutra  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


[E-devel] Mixer module gadget problem

2009-05-03 Thread Diogo Dutra
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!?

If it is really a bug I will put in the trac.

-- 
===

Diogo Dutra Albuquerque

Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel