Sugar Learning Environment, Activity Toolkit, GTK 3.
85b173eb25
PaletteWindow is the parent class of two different subclases, Palette and _ToolBarPalette. Palette uses state changes intensively in order to display secondary content, but _ToolBarPalette does not. Because of this, Palette overwrites PaletteWindow's popup and popdown methods adding one extra param called "state". This param is not required either in PaletteWindow and specially not in _ToolBarPalette. Therefore, any piece of code inside PaletteWindow which is meant for Palette subclassing, should be moved out of PaletteWindow and placed in the Palette class, where it corresponds. This patch fixes the cases where _ToolBarPalette breaks because of this mismatch. Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org> |
||
---|---|---|
bin | ||
examples | ||
m4 | ||
po | ||
src | ||
tests | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
configure.ac | ||
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.