From 51dbb1398e361671c06fb27940da6b138c0a5cef Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 14 Dec 2005 17:32:38 +0000 Subject: [PATCH] remove old images when we change to an iconset that has no 32x32 icons --- src/roster_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index d7ca3b9d5..7f3705237 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2177,6 +2177,8 @@ _('If "%s" accepts this request you will know his or her status.') %jid) path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '32x32') if os.path.exists(path): self.jabber_state_images['32'] = self.load_iconset(path) + else: + self.jabber_state_images['32'] = {} path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16') self.jabber_state_images['16'] = self.load_iconset(path)