fixing a traceback after yann's commit and asking a qu for yann [as FIXME:]
This commit is contained in:
parent
e4dfc6e739
commit
723af5012a
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -119,7 +119,7 @@ class Preferences_window:
|
||||||
icon_string = model[active][0]
|
icon_string = model[active][0]
|
||||||
gajim.config.set('iconset', icon_string)
|
gajim.config.set('iconset', icon_string)
|
||||||
self.plugin.roster.reload_jabber_state_images()
|
self.plugin.roster.reload_jabber_state_images()
|
||||||
for a in gajim.connections:
|
for a in gajim.connections: # FIXME: so this can be removed?? [see roster_window.py update_state_images call in reload_jabber_state_images()]
|
||||||
for w in self.plugin.windows[a]['gc'].values():
|
for w in self.plugin.windows[a]['gc'].values():
|
||||||
w.update_state_images()
|
w.update_state_images()
|
||||||
self.plugin.save_config()
|
self.plugin.save_config()
|
||||||
|
|
|
@ -1219,7 +1219,7 @@ class Roster_window:
|
||||||
# Update opened groupchat windows
|
# Update opened groupchat windows
|
||||||
for jid in self.plugin.windows[account]['gc']:
|
for jid in self.plugin.windows[account]['gc']:
|
||||||
if jid != 'tabbed':
|
if jid != 'tabbed':
|
||||||
self.plugin.windows[account]['gc'][jid].update_state_images(jid)
|
self.plugin.windows[account]['gc'][jid].update_state_images()
|
||||||
# Update windows icons
|
# Update windows icons
|
||||||
image = self.jabber_state_images['online'] # FIXME: we need an icon
|
image = self.jabber_state_images['online'] # FIXME: we need an icon
|
||||||
if image.get_storage_type() == gtk.IMAGE_ANIMATION:
|
if image.get_storage_type() == gtk.IMAGE_ANIMATION:
|
||||||
|
|
Loading…
Reference in New Issue