Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
Martin Abente Lahaye 98a29ae12c Save spent time on activities
Use set_active and save events to keep track of the time,
in seconds, that the activity is on the main screen. The
time is calculated and stored each time an activity is
open/resumed and closed. Therefore, each activity entry
will have an array of seconds for each time it was used.

This makes a 1 to 1 relationship between the spent and
lauch times. In orders words, we can reflect not only the
"when", but also the " for how long".

Even though this time does not necessarily represents the
real time the user "used" the activity, it is a low-cost
approach for reflecting time.

This is a long requested featured from deployments that have
been using statistics tools on journal metadata, and this
patch is already being used by OLPC-AU.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
2014-10-02 13:24:59 -04:00
bin Avoid breaking activity startup by dbus timeout on sigle instance - Fixes #4773 2014-05-21 14:40:51 -04:00
examples Fixes for pep8 1.5 2014-03-29 19:25:34 +00:00
m4
po Add missing translations 2014-03-30 11:58:36 +01:00
src Save spent time on activities 2014-10-02 13:24:59 -04: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.102.0 2014-07-01 07:08:42 -04:00
COPYING
MAINTAINERS
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.