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 20:30:10 (GMT)
commit48c2eeaf5d3007f0970a0f31745efe22063c4465 (patch)
tree124061d1b9ae7f2003e8d9405eff9b566f23296c
parentbcebef6fb02f20f1ac456cbc43c7ab3062f2d962 (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 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