Sort channel list (finally ;)
git-svn-id: svn://svn.berlios.de/gpodder/trunk@480 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
parent
753706b3c9
commit
329ddcc0c7
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
Thu, 06 Dec 2007 08:35:12 +0100 <thp@perli.net>
|
||||
Sort channel list (finally ;)
|
||||
|
||||
* src/gpodder/libpodcasts.py: Sort channels by lowercase title before
|
||||
returning the channel list in load_channels(); this automagically
|
||||
makes gPodder's channel list always sorted :)
|
||||
Thanks to FriedBunny <friedbunny@kulturny.com> for suggesting this and
|
||||
sending in an intial patch that led to this patch =)
|
||||
* TODO: Remove implemented item: Sort channel list
|
||||
|
||||
Tue, 04 Dec 2007 23:28:27 +0100 <thp@perli.net>
|
||||
Do grayscale "pill" instead of theme-based colors (for bad themes)
|
||||
|
||||
|
|
3
TODO
3
TODO
|
@ -20,9 +20,6 @@
|
|||
continues to check the other feeds. I think a timeout of 10 seconds
|
||||
is reasonable.
|
||||
|
||||
Is it possible to sort the Channel list by alphabetical order, or to
|
||||
add this as a preference?
|
||||
|
||||
(suggested by Paul Elliott <omahns.home@gmail.com>)
|
||||
|
||||
* My element for the wishlist: have gPodder produce a sound when a
|
||||
|
|
|
@ -741,6 +741,7 @@ def load_channels( load_items = True, force_update = False, callback_proc = None
|
|||
count += 1
|
||||
|
||||
podcastChannel.clear_cache(urls_to_keep)
|
||||
result.sort(key=lambda x:x.title.lower())
|
||||
return result
|
||||
|
||||
def save_channels( channels):
|
||||
|
|
Loading…
Reference in a new issue