Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
James Cameron 7ba120fe25 Fix persistent tree view palettes
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.
2015-12-22 09:49:16 +11:00
bin sugar-activity-web: remove bash specific code 2015-05-29 12:17:41 +10:00
doc @samdroid-apps Add sphinx scripts and config to build documentaion 2015-08-11 08:05:15 -03:00
examples New invoker, TreeViewInvoker 2015-05-14 12:04:07 -03:00
m4 Add simple toolbars example 2009-07-10 04:07:10 +00:00
po Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-06-30 14:33:39 +00:00
src Fix persistent tree view palettes 2015-12-22 09:49:16 +11:00
tests Implement mime.get_mime_parents using python 2014-03-08 15:34:23 +01:00
.gitignore Update .gitignore 2013-09-11 15:29:22 +02:00
AUTHORS
autogen.sh Modernize gettext setup 2014-03-30 11:54:48 +01:00
configure.ac Release 0.107.0 2015-10-19 09:18:14 -03:00
COPYING
MAINTAINERS Add MAINTAINERS file 2011-12-13 17:37:50 -03:00
make-doc.sh @samdroid-apps Add sphinx scripts and config to build documentaion 2015-08-11 08:05:15 -03:00
Makefile.am Add missing translations 2014-03-30 11:58:36 +01:00
README Test commit 2014-05-11 22:21:12 +02:00

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.