Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/desktop/activitieslist.py
diff options
context:
space:
mode:
authorManuel QuiƱones <manuq@laptop.org>2012-09-04 13:30:57 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-09-07 09:14:26 (GMT)
commit9b0767d1c787df0d535b7c60226ea3a83ae36e47 (patch)
tree559e6f08c8186bbb74b3666d8dbb0b4b9f37c863 /src/jarabe/desktop/activitieslist.py
parent622f2dadefadd608f38de8838a45e85871f5c5fa (diff)
Activity list, ListModel: cast timestamp to int before adding to the model
The function util.timestamp_to_elapsed_string does cast to int internally, that is why we do not have to do a cast here. Signed-off-by: Manuel QuiƱones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src/jarabe/desktop/activitieslist.py')
-rw-r--r--src/jarabe/desktop/activitieslist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py
index 5caa855..dfe06b0 100644
--- a/src/jarabe/desktop/activitieslist.py
+++ b/src/jarabe/desktop/activitieslist.py
@@ -230,7 +230,7 @@ class ListModel(Gtk.TreeModelSort):
title,
version,
_('Version %s') % version,
- timestamp,
+ int(timestamp),
util.timestamp_to_elapsed_string(timestamp)])
def set_visible_func(self, func):