Changes

Jump to navigation Jump to search
Line 33: Line 33:  
This feature is already implemented and working on Australian au1c images. The implementation requires a small modification to sugar-toolkit and sugar-toolkit-gtk3 [https://github.com/tchx84/sugar-toolkit-gtk3-1/commits/spent-time-3 see initial implementation].
 
This feature is already implemented and working on Australian au1c images. The implementation requires a small modification to sugar-toolkit and sugar-toolkit-gtk3 [https://github.com/tchx84/sugar-toolkit-gtk3-1/commits/spent-time-3 see initial implementation].
   −
The change consist in modifying the base Activity class, using the launch time timestamp in conjuction with "set_active" and "save" methods, to calculate and accumulate the seconds for when the activity was "active".
+
The change consist in modifying the base Activity class, using the launch time timestamp in conjuction with "set_active" and "save" methods, to calculate and accumulate the seconds for when the activity was "active". The spent time is stored as an array of accumulated seconds, each for each time the entry was launched.
   −
The spent time is stored as an array of accumulated seconds, each for each time the entry was launched.
+
The new metadata array is called "spent_times".
    
== User Experience ==
 
== User Experience ==
 
The user experienced is untouched.
 
The user experienced is untouched.
572

edits

Navigation menu