From cb6499e9723ad54207049ca30221ebbb1402442a Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 27 May 2005 16:56:46 +0000 Subject: [PATCH] using irc and sms icons --- src/roster_window.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index f2e04e030..5f8c7ef0a 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -193,10 +193,14 @@ class Roster_window: state_images = self.transports_state_images['aim'] elif host.find('gadugadu.') == 0: state_images = self.transports_state_images['gadugadu'] + elif host.find('irc.') == 0: + state_images = self.transports_state_images['irc'] elif host.find('icq.') == 0: state_images = self.transports_state_images['icq'] elif host.find('msn.') == 0: state_images = self.transports_state_images['msn'] + elif host.find('sms.') == 0: + state_images = self.transports_state_images['sms'] elif host.find('yahoo.') == 0: state_images = self.transports_state_images['yahoo'] else: @@ -1439,7 +1443,7 @@ class Roster_window: model.set_sort_column_id(1, gtk.SORT_ASCENDING) self.tree.set_model(model) self.make_jabber_state_images() - self.transports_state_images = { 'aim': {}, 'gadugadu': {}, 'icq': {}, 'msn': {}, 'yahoo': {} } + self.transports_state_images = { 'aim': {}, 'gadugadu': {}, 'irc': {}, 'icq': {}, 'msn': {}, 'sms': {}, 'yahoo': {} } path = os.path.join(gajim.DATA_DIR, 'iconsets/transports') folders = os.listdir(path)