This commit is contained in:
Yann Leboulanger 2006-01-31 18:23:13 +00:00
parent ccbcf0d8a9
commit 475ebb8879
1 changed files with 6 additions and 4 deletions

View File

@ -2821,22 +2821,24 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
if transport == '.svn':
continue
folder = os.path.join(path, transport, '32x32')
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')
iconset = gajim.config.get('iconset')
if not iconset:
iconset = 'dcraven'
iconset_path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset,
'16x16')
self.transports_state_images['16'][transport] = self.load_iconset(folder)
self.transports_state_images['16'][transport] = self.load_iconset(
folder)
pix = gtk.gdk.pixbuf_new_from_file(os.path.join(iconset_path,
'opened.png'))
self.transports_state_images['opened'][transport] = self.load_iconset(
path, pix)
folder, pix)
pix = gtk.gdk.pixbuf_new_from_file(os.path.join(iconset_path,
'closed.png'))
self.transports_state_images['closed'][transport] = self.load_iconset(
path, pix)
folder, pix)
# uf_show, img, show, sensitive
liststore = gtk.ListStore(str, gtk.Image, str, bool)