From cbbb8c1faa10eb6ab4a00ccdeb7f7d2b0c07e7bc Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 25 Sep 2006 09:44:19 +0000 Subject: [PATCH] use one global variable in one place --- src/roster_window.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index e2c7f4b2f..d3f28425b 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -55,9 +55,6 @@ C_EDITABLE, # cellrenderer text that holds name editable or not? C_SECPIXBUF, # secondary_pixbuf (holds avatar or padlock) ) = range(7) - -DEFAULT_ICONSET = 'dcraven' - class RosterWindow: '''Class for main window of gtkgui interface''' @@ -3134,9 +3131,9 @@ _('If "%s" accepts this request you will know his or her status.') % jid) if iconset: path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16') if not os.path.exists(path): - iconset = DEFAULT_ICONSET + iconset = gajim.config.DEFAULT_ICONSET else: - iconset = DEFAULT_ICONSET + iconset = gajim.config.DEFAULT_ICONSET path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '32x32') self.jabber_state_images['32'] = self.load_iconset(path)