[Sugar-devel] [RFC PATCH 1/8] Journal: Retrieve ctime and filesize from the datastore.
Andrés Ambrois
andresambrois at gmail.com
Sat May 1 15:33:49 EDT 2010
Add the two new properties (ctime and filesize) to the list of
properties we ask the datastore for.
Signed-off-by: Andrés Ambrois <andresambrois at gmail.com>
---
src/jarabe/journal/model.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py
index ffc62e0..4f1eb8d 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', 'ctime', 'filesize',
+ 'keep', 'buddies', 'icon-color', 'mime_type', 'progress',
+ 'activity', 'mountpoint', 'activity_id', 'bundle_id']
MIN_PAGES_TO_CACHE = 3
MAX_PAGES_TO_CACHE = 5
--
1.6.3.3
More information about the Sugar-devel
mailing list