From 48c2eeaf5d3007f0970a0f31745efe22063c4465 Mon Sep 17 00:00:00 2001 From: Andrés Ambrois Date: Sun, 23 May 2010 06:41:23 +0000 Subject: Journal: Retrieve filesize from the datastore Add the filesize property to the list of properties we ask the datastore for. Signed-off-by: Andrés Ambrois --- diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py index af1b69c..030b88f 100644 --- a/src/jarabe/journal/model.py +++ b/src/jarabe/journal/model.py @@ -36,9 +36,9 @@ DS_DBUS_INTERFACE = 'org.laptop.sugar.DataStore' DS_DBUS_PATH = '/org/laptop/sugar/DataStore' # Properties the journal cares about. -PROPERTIES = ['uid', 'title', 'mtime', 'timestamp', 'keep', 'buddies', - 'icon-color', 'mime_type', 'progress', 'activity', 'mountpoint', - 'activity_id', 'bundle_id'] +PROPERTIES = ['uid', 'title', 'mtime', 'timestamp', 'filesize', + 'keep', 'buddies', 'icon-color', 'mime_type', 'progress', + 'activity', 'mountpoint', 'activity_id', 'bundle_id'] MIN_PAGES_TO_CACHE = 3 MAX_PAGES_TO_CACHE = 5 -- cgit v0.9.1