question in the first patch.

     def icon_set(self, c_evas.Object icon):
-        elm_object_item_part_content_set(self.obj, icon.obj)
+        elm_object_part_content_set(self.obj, "icon", icon.obj);

     def icon_get(self):
         cdef c_evas.Evas_Object *icon
-        icon = elm_object_item_part_content_get(self.obj)
+        icon = elm_object_part_content_get(self.obj, "icon")
         return evas.c_evas._Object_from_instance(<long> icon)

is this correct?
elm_object_item_part_content_set with "icon" parameter looks right.

Daniel Juyung Seo (SeoZ)

On Mon, Mar 12, 2012 at 9:49 PM, Martin Jansa <martin.ja...@gmail.com> wrote:
> On Sat, Mar 10, 2012 at 06:54:55PM +0100, Davide Andreoli wrote:
>> Il giorno 08 marzo 2012 12:49, Martin Jansa <martin.ja...@gmail.com> ha
>> scritto:
>>
>> > Hi,
>> >
>> > is someone already working on this issue or should I try to prepare patch
>> > for this?
>> >
>>
>> yes, please patch! I have no time until 2 weeks for working on this
>> davemds
>
> build tested with r69248
>
> a lot of APIs should be renamed in bindings, but at least it compiles
> again!
>
> Cheers,
>
> --
> Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to