always create the ['32'][transport] list, even if it's emtpy (load_iconset checks if folder exists)
This commit is contained in:
parent
81a0eabe11
commit
ee0f764df0
1 changed files with 2 additions and 3 deletions
|
@ -2593,10 +2593,9 @@ _('If "%s" accepts this request you will know his or her status.') %jid)
|
|||
if transport == '.svn':
|
||||
continue
|
||||
folder = os.path.join(path, transport, '32x32')
|
||||
if os.path.exists(folder):
|
||||
self.transports_state_images['32'][transport] = self.load_iconset( folder)
|
||||
self.transports_state_images['32'][transport] = self.load_iconset(folder)
|
||||
folder = os.path.join(path, transport, '16x16')
|
||||
self.transports_state_images['16'][transport] = self.load_iconset( folder)
|
||||
self.transports_state_images['16'][transport] = self.load_iconset(folder)
|
||||
|
||||
# uf_show, img, show, sensitive
|
||||
liststore = gtk.ListStore(str, gtk.Image, str, bool)
|
||||
|
|
Loading…
Add table
Reference in a new issue