First step in reducing unneeded full refreshes of treeChannels
commit77875ee3d3363dc525166f2a320ad3c968b0cfde
authornikosapi <me@nikosapi.org>
Sat, 6 Sep 2008 20:34:35 +0000 (6 16:34 -0400)
committerThomas Perl <thp@perli.net>
Tue, 14 Oct 2008 16:37:52 +0000 (14 18:37 +0200)
tree0671ac034791c80f401c638663997bbb63b9b2d0
parentd21ec069b5531efb222b49ccdd78839159dbf2a5
First step in reducing unneeded full refreshes of treeChannels

libpodcasts.py: Moved a bunch of code from channels_to_model to
update_channel_model_by_iter, a new method which allows updating of
individual iters in a model.

gui.py: Added only_selected_channel option to updateComboBox which makes it
only update the selected channel's iter. This saves a bit of time when doing
simple tasks like marking an episode as played. So far only playback_episode
and for_each_selected_episode_url take advantage of this option.
src/gpodder/gui.py
src/gpodder/libpodcasts.py