[Sugar-devel] [PATCH sugar-toolkit-gtk3] Object Chooser: update for GDK3 get_xid()

2012-05-19 Thread Daniel Drake
In GDK3 the 'xid' attribute is gone and is replaced with gdk_x11_window_get_xid(), or the get_xid() method in Python. Needed to be able to open the object chooser from Browse without hassle. Signed-off-by: Daniel Drake d...@laptop.org --- src/sugar3/graphics/objectchooser.py |4 ++-- 1 file

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] Object Chooser: update for GDK3 get_xid()

2012-05-19 Thread Manuel Kaufmann
On Sat, May 19, 2012 at 5:43 PM, Daniel Drake d...@laptop.org wrote: Needed to be able to open the object chooser from Browse without hassle. What do you mean with object chooser? Now, we are opening a dialog to choose a file from the file system (when you try to upload a file, for example) and

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] Object Chooser: update for GDK3 get_xid()

2012-05-19 Thread Daniel Drake
On Sat, May 19, 2012 at 2:55 PM, Manuel Kaufmann humi...@gmail.com wrote: On Sat, May 19, 2012 at 5:43 PM, Daniel Drake d...@laptop.org wrote: Needed to be able to open the object chooser from Browse without hassle. What do you mean with object chooser? src/sugar3/graphics/objectchooser.py