diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-07-25 21:35:13 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-07-25 21:35:13 (GMT) |
commit | fd64feabf05ba37c4888626cf2f7a9ac57d4733a (patch) | |
tree | 208a61a4c3824b0f08f3e545cba8a8e96c1c9517 /turtleblocks.py | |
parent | 3d6de0867d1b09c3460e6fd5576373652ae0064f (diff) |
add iconview for sample projects
Diffstat (limited to 'turtleblocks.py')
-rwxr-xr-x | turtleblocks.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/turtleblocks.py b/turtleblocks.py index 9bc6c60..a252b5d 100755 --- a/turtleblocks.py +++ b/turtleblocks.py @@ -829,8 +829,10 @@ Would you like to save before quitting?')) store.append([pixbuf, filepath]) def _scan_for_samples(self): - return glob.glob(os.path.join(self._get_execution_dir(), + samples = glob.glob(os.path.join(self._get_execution_dir(), 'samples', 'thumbnails', '*.png')) + samples.sort() + return samples if __name__ == '__main__': |