cosmetic bugfix
git-svn-id: svn://svn.berlios.de/gpodder/trunk@216 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
parent
68eb929cf7
commit
a1ec3c91ef
|
@ -1,3 +1,7 @@
|
|||
Wed, 13 Dec 2006 02:05:23 +0100 <thp@perli.net>
|
||||
* src/gpodder/gpodder.py: Switch to (new) last channel when
|
||||
deleting the last channel in the channel list in combobox
|
||||
|
||||
Wed, 13 Dec 2006 01:58:25 +0100 <thp@perli.net>
|
||||
* src/gpodder/gpodder.py: New-style channel editor dialog (code)
|
||||
* data/gpodder.glade: New-style channel editor dialog
|
||||
|
|
|
@ -222,6 +222,8 @@ class Gpodder(SimpleGladeApp):
|
|||
old_active = self.comboAvailable.get_active()
|
||||
if old_active < 0:
|
||||
old_active = 0
|
||||
elif old_active > len( self.channels)-1:
|
||||
old_active = len(self.channels)-1
|
||||
self.comboAvailable.set_model( channelsToModel( self.channels))
|
||||
self.comboAvailable.set_active( old_active)
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue