[Sugar-devel] Date in the View List of Activities
Gonzalo Odiard
gonzalo at laptop.org
Wed Dec 4 15:53:47 EST 2013
In theory is the installation time:
https://github.com/sugarlabs/sugar/blob/master/src/jarabe/desktop/activitieslist.py#L256
https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/bundle/bundle.py#L72
is os.stat.mtime of the activity directory, then, should be " time of most
recent content modification"
http://docs.python.org/2/library/os.html#os.stat
but... in the xo, that date is fixed at installation time needed by
olpc-update.
I agree with Alan, that column is not useful and confuse to the users,
would be good use that space to show the summary.
Gonzalo
On Wed, Dec 4, 2013 at 5:38 PM, Lionel Laské <lionel at olpc-france.org> wrote:
> Hi all,
>
> Sorry for the stupid question: In Sugar, in the List view of Activities,
> we could see:
> - the icon of the activity,
> - the name of the activity,
> - the version of the activity,
> - and... a date displayed like "xxx ago".
>
> What is this date ? I thought it was the last time the activity was used
> but it's not.
> So I thought it was the date of installation but it's not.
> So what is it ?
>
> Best regards from France.
>
> Lionel.
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131204/531002d5/attachment-0001.html>
More information about the Sugar-devel
mailing list