On Dec 3, 2007 2:01 PM, Thomas Perl <[EMAIL PROTECTED]> wrote: > Hello, FriedBunny! > > > FriedBunny wrote: > > As a new user of gPodder, first off I'd like to thank everybody for > > their hard work -- this project is exactly what I was looking for. > > > > I noticed that the 'channel' column doesn't sort (and that this was a > > TO-DO), so I decided to try my hand at a simple fix. It's just two > > lines and it won't automatically sort when gPodder starts up, but it's > > a start. > > Thanks for your patch, but it won't work because internally, gPodder > uses the selected index in the list to select the internal channel > object. To get the desired effect, the channel list has to be sorted in > load_channels(), i.e. the GUI code receives a fully sorted list of > episodes already. > > I've done this in the patch attached. This makes the channel list always > sorted. Please test the patch to see if it works. If it does, just get > back to me and I'll commit it to our repository :) > > Thanks for your patch and your suggestion, though =) Because of it, I > got thinking about how to best implement this, and if you look at the > patch, it's a really simple one-liner :) Should have thougt about this > before.. hehe.. > > Thanks, > Thomas > > _______________________________________________ > gpodder-devel mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/gpodder-devel > >
Yikes! I thought my method worked just fine... until I started using it just now and noticed that the right-side 'episodes' panel wasn't understanding the new sorting. Sorry to waste your time, I'll play with your patch and get back to you. ;D _______________________________________________ gpodder-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-devel
