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 Andrés Ambrois <andresambrois@gmail.com>2010-08-24 08:49:01 (GMT)
commitebc58c907137a718a7c8a93dc0ac0572988d80c8 (patch)
tree86cbafd4692709c00b1cace56bac485b529904cd
parentd8631528f072ef0aa0a6a192e9c3ccde8f9cf21b (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 ffc62e0..874d7bd 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