Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/listview.py
diff options
context:
space:
mode:
Diffstat (limited to 'listview.py')
-rwxr-xr-xlistview.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/listview.py b/listview.py
index 20e61be..22086da 100755
--- a/listview.py
+++ b/listview.py
@@ -57,7 +57,7 @@ class Listview(gtk.VBox):
print 'set_store', mountpoint, pth
store = gtk.ListStore(str, str, str)
#get objects from the local datastore
- ds_objects, num_objects = datastore.find({'mountpoints':[mountpoint], 'mime_type':['image/jpg', 'image/png', 'image/svg']})
+ ds_objects, num_objects = datastore.find({'mountpoints':[mountpoint], 'mime_type':['image/jpg', 'image/png', 'image/svg', 'image/jpeg']})
for f in ds_objects:
try:
title = f.metadata['title']
@@ -72,6 +72,7 @@ class Listview(gtk.VBox):
except:
timestamp = "0"
store.append([title, mime_type, timestamp])
+ print 'store.append', title, mime_type, timestamp
f.destroy()
return store