coding style
This commit is contained in:
parent
82413cafaa
commit
f4451af64c
|
@ -4765,22 +4765,21 @@ class RosterWindow:
|
||||||
"""
|
"""
|
||||||
Initialize opened and closed 'transport' iconset dict
|
Initialize opened and closed 'transport' iconset dict
|
||||||
"""
|
"""
|
||||||
if gajim.config.get('use_transports_iconsets'):
|
if not gajim.config.get('use_transports_iconsets'):
|
||||||
folder = os.path.join(helpers.get_transport_path(transport),
|
return
|
||||||
'16x16')
|
|
||||||
pixo, pixc = gtkgui_helpers.load_icons_meta()
|
folder = os.path.join(helpers.get_transport_path(transport), '32x32')
|
||||||
self.transports_state_images['opened'][transport] = \
|
self.transports_state_images['32'][transport] = \
|
||||||
gtkgui_helpers.load_iconset(folder, pixo, transport=True)
|
gtkgui_helpers.load_iconset(folder, transport=True)
|
||||||
self.transports_state_images['closed'][transport] = \
|
folder = os.path.join(helpers.get_transport_path(transport), '16x16')
|
||||||
gtkgui_helpers.load_iconset(folder, pixc, transport=True)
|
self.transports_state_images['16'][transport] = \
|
||||||
folder = os.path.join(helpers.get_transport_path(transport),
|
gtkgui_helpers.load_iconset(folder, transport=True)
|
||||||
'32x32')
|
|
||||||
self.transports_state_images['32'][transport] = \
|
pixo, pixc = gtkgui_helpers.load_icons_meta()
|
||||||
gtkgui_helpers.load_iconset(folder, transport=True)
|
self.transports_state_images['opened'][transport] = \
|
||||||
folder = os.path.join(helpers.get_transport_path(transport),
|
gtkgui_helpers.load_iconset(folder, pixo, transport=True)
|
||||||
'16x16')
|
self.transports_state_images['closed'][transport] = \
|
||||||
self.transports_state_images['16'][transport] = \
|
gtkgui_helpers.load_iconset(folder, pixc, transport=True)
|
||||||
gtkgui_helpers.load_iconset(folder, transport=True)
|
|
||||||
|
|
||||||
def update_jabber_state_images(self):
|
def update_jabber_state_images(self):
|
||||||
# Update the roster
|
# Update the roster
|
||||||
|
|
Loading…
Reference in New Issue