From b5dedd2a068e70bc5a5feea53a5c46d7430e95e0 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Thu, 21 Jun 2012 18:30:09 +0000 Subject: Display the images sorted in alphabetical order Signed-off-by: Gonzalo Odiard --- diff --git a/activity.py b/activity.py index 106278a..b489622 100644 --- a/activity.py +++ b/activity.py @@ -115,7 +115,7 @@ class ImageCollectionViewer(gtk.VBox): self.image_order = 0 self.image_files_list = [] - for fname in os.listdir(images_path): + for fname in sorted(os.listdir(images_path)): self.image_files_list.append(images_path + fname) logging.error('Image file: %s', fname) -- cgit v0.9.1