Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
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] d1f68419e7/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
bin
examples Add examples for Alert, Animator, ComboBox, IconEntry and Notebook 2011-12-13 17:19:53 -03:00
m4
po Commit from Sugar Labs: Translation System by user cjl.: 38 of 40 messages translated (0 fuzzy). 2012-08-19 17:21:20 +02:00
src Frame Device icons: Palette is not drawn at the correct position 2012-09-12 15:40:54 +02:00
tests Add testcase for icon badges - SL #3835 2012-09-06 18:15:02 +02:00
.gitignore
AUTHORS
autogen.sh
configure.ac Release 0.97.1 2012-08-28 09:59:43 -03:00
COPYING
MAINTAINERS
Makefile.am
README

Sugar is the core of the OLPC Human Interface. The toolkit provides
a set of widgets to build HIG compliant applications and interfaces
to interact with system services like presence and the datastore.