Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés Ambrois <andresambrois@gmail.com>2010-05-23 06:41:23 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-11-01 16:52:15 (GMT)
commite888cd4fca646e2d26a86d1682ac802afb6ae5d4 (patch)
tree6be681b87e20e6d9943fd9cec216c792646454ff
parentbacd9208e42a63cb4ee95f7b18a8b23c5f921698 (diff)
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 <andresambrois@gmail.com>
-rw-r--r--src/jarabe/journal/model.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py
index 7b78c7f..503f77c 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