[gnome-music/freeze-break: 97/107] view: Sort playlists by name in Playlists view



commit 43711f2cec28e6a947d80e5a1b38e738442f776e
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Sun Sep 8 21:40:20 2013 +0800

    view: Sort playlists by name in Playlists view

 gnomemusic/view.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index eedb09b..f62387c 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -913,5 +913,5 @@ class Playlist(ViewContainer):
             self._add_item_to_model(item, cached_playlist)
 
     def populate(self):
-        for item in self.playlists_list:
+        for item in sorted(self.playlists_list):
             self._add_playlist_item(item)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]