Re: [E-devel] [Python] elementary.List: longpressed event

2009-12-24 Thread daniele_athome
On Thu, Dec 24, 2009 at 23:40, Gustavo Sverzut Barbieri wrote: > On Thu, Dec 24, 2009 at 10:19 AM, daniele_athome > wrote: >> On Thu, Dec 24, 2009 at 10:46, daniele_athome >> wrote: >>> The modified line is the last one, was "return cbt[0]" >>> Merry christams to everybody >> >> There is anothe

Re: [E-devel] [Python] elementary.List: longpressed event

2009-12-24 Thread Gustavo Sverzut Barbieri
On Thu, Dec 24, 2009 at 10:19 AM, daniele_athome wrote: > On Thu, Dec 24, 2009 at 10:46, daniele_athome > wrote: >> The modified line is the last one, was "return cbt[0]" >> Merry christams to everybody > > There is another problem. data_get() on ListItem doesn't return the > correct data. Retur

Re: [E-devel] [Python] elementary.List: longpressed event

2009-12-24 Thread Gustavo Sverzut Barbieri
On Thu, Dec 24, 2009 at 7:46 AM, daniele_athome wrote: > On Thu, Dec 24, 2009 at 10:37, daniele_athome > wrote: >> As you can see, ListItem IS in the tuple, but the object passed to the >> actual python callback is cbt[0], so the List. Anyway I'll make some >> other tests in the meanwhile. >> >

Re: [E-devel] [Python] elementary.List: longpressed event

2009-12-24 Thread daniele_athome
On Thu, Dec 24, 2009 at 10:46, daniele_athome wrote: > The modified line is the last one, was "return cbt[0]" > Merry christams to everybody There is another problem. data_get() on ListItem doesn't return the correct data. Returned data is ( ( ), { } ). -- daniele_athome --

Re: [E-devel] E SVN: devilhorns IN trunk/efreet/src: bin lib

2009-12-24 Thread Vincent Torri
On Thu, 24 Dec 2009, Albin Tonnerre wrote: > On Thu, 24 Dec 2009 12:16 +0100, Vincent Torri wrote : > > >> On Thu, 24 Dec 2009, Brett Nash wrote: > > > Also, doing sizeof() is a compiler directive so does not incur any > performance hits...plus it matches the rest of EFL. > using a

Re: [E-devel] E SVN: devilhorns IN trunk/efreet/src: bin lib

2009-12-24 Thread Jonathan Atton
Albin Tonnerre wrote: > On Thu, 24 Dec 2009 12:16 +0100, Vincent Torri wrote : > > > >> On Thu, 24 Dec 2009, Brett Nash wrote: >> > > > > Also, doing sizeof() is a compiler directive so does not incur any > performance hits...plus it matches the rest of EFL. > > >

Re: [E-devel] E SVN: devilhorns IN trunk/efreet/src: bin lib

2009-12-24 Thread Albin Tonnerre
On Thu, 24 Dec 2009 12:16 +0100, Vincent Torri wrote : > On Thu, 24 Dec 2009, Brett Nash wrote: > >>> Also, doing sizeof() is a compiler directive so does not incur any > >>> performance hits...plus it matches the rest of EFL. > >> using a macro does not involved any performance hit too as PAT

Re: [E-devel] E SVN: devilhorns IN trunk/efreet/src: bin lib

2009-12-24 Thread Vincent Torri
On Thu, 24 Dec 2009, Brett Nash wrote: > >>> Also, doing sizeof() is a compiler directive so does not incur any >>> performance hits...plus it matches the rest of EFL. >> >> using a macro does not involved any performance hit too as PATH_MAX >> is directly replaced by its value before the compil

Re: [E-devel] [Python] elementary.List: longpressed event

2009-12-24 Thread daniele_athome
On Thu, Dec 24, 2009 at 10:37, daniele_athome wrote: > As you can see, ListItem IS in the tuple, but the object passed to the > actual python callback is cbt[0], so the List. Anyway I'll make some > other tests in the meanwhile. > It seems that returning cbt[2] solves the problem; but I want Gust

Re: [E-devel] [Python] elementary.List: longpressed event

2009-12-24 Thread daniele_athome
On Thu, Dec 24, 2009 at 02:08, Gustavo Sverzut Barbieri wrote: > You mean, after my patch? Take a look _list_item_conv. > I printed variable cbt in _list_item_conv callback, this is the content of the tuple: ( List(0x40f23990, type='elm_widget', refcount=10, Evas_Object=0x180e20, name=None, geom