Files
sugar-toolkit-gtk3/src/sugar3
Simon Schampijer 5ab2b80546 Frame Device icons: Palette is not drawn at the correct position
We are adding the x value twice (from the allocation and from the origin)
in get_rect of the WidgetInvoker which we derive from in the FrameInvoker.
In the toolkit-gtk2 code [1] we did add the allocation.x value when
the widget does not provide its own gtk.gdk.Window (gtk.NO_WINDOW) [2]. This
is the same check we do above if the widget has a window and we set x and y
to 0 there which sounds sane enough to me.

[1] http://git.sugarlabs.org/sugar-toolkit/mainline/blobs/d1f68419e79376381fc2c3b111466714f044dfc0/src/sugar/graphics/palettewindow.py#line716
[2] http://www.pygtk.org/docs/pygtk/class-gtkobject.html#method-gtkobject--flags

Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
2012-09-12 15:40:54 +02:00
..
2012-09-06 18:14:46 +02:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-12-13 17:19:53 -03:00
2012-09-06 18:14:46 +02:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2011-11-14 18:17:18 +01:00
2012-09-06 18:14:46 +02:00
2012-09-06 18:14:46 +02:00
2011-11-14 18:17:18 +01:00
2011-12-13 17:19:53 -03:00
2011-12-13 17:19:53 -03:00