Sugar Learning Environment, Activity Toolkit, GTK 3.
7ba120fe25
A rework of the TreeViewInvoker used by the journal and activity list. Fixes a persistent journal entry palette that reappears in journal or home view. https://bugs.sugarlabs.org/ticket/4918 Also fixes an over-sensitive journal icon; with the journal mostly empty, rapidly move the mouse from the bottom of the screen into the lowest icon and then out again. Before this patch, the palette was shown. After this patch, the mouse must rest in the icon. Changes made: - override _ensure_palette_exists in parent class Invoker, - remove reference to MouseSpeedDetector, it is no longer required, - remove enter and leave events; they are for the TreeView as a whole, and are not required, - properly detect that None is returned by get_path_at_pos, when the coordinates are outside the TreeView cells. Not fixed: - moving the mouse out of the journal icon invoker does not popdown the palette, but it does when moving the mouse out of the activity icon in the activity list; so this is a problem beyond the invoker, Tested on Fedora 18 and Ubuntu 15.10. Test cases: - check a click will activate item, - check a right-click will show palette, - check a mouse hover will show palette, - check a brief mouse passing will not show palette, - check if mouse leaving palette will popdown. |
||
---|---|---|
bin | ||
doc | ||
examples | ||
m4 | ||
po | ||
src | ||
tests | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
MAINTAINERS | ||
make-doc.sh | ||
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.