From 9182910da16216a8c7bb8808d11a83872d80378b Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Wed, 20 Oct 2010 12:08:09 +0400 Subject: [PATCH] clients_icons. support Siemens Native Jabber Client --- clients_icons/clients_icons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index 50b7fbf..61415a6 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -71,7 +71,7 @@ clients = { 'http://2010.qip.ru/caps': 'qipinfium.png', 'http://qip.ru/caps': 'qipinfium.png', 'http://glu.net/': 'glu.png', - '-Z-r': 'siejc.png', + 'Siemens': 'siejc.png',# Siemens Native Jabber Client 'telepathy.': 'telepathy.freedesktop.org.png', 'http://live.genome.org/empathy/caps': 'telepathy.freedesktop.org.png', 'http://telepathy.freedesktop.org/caps': 'telepathy.freedesktop.org.png', @@ -224,7 +224,7 @@ class ClientsIconsPlugin(GajimPlugin): if self.config['show_unknown_icon']: model[iter_][pos] = self.default_pixbuf return - client_icon = clients.get(caps.split('#')[0], None) + client_icon = clients.get(caps.split('#')[0].split()[0], None) if not client_icon: if self.config['show_unknown_icon']: model[iter_][pos] = self.default_pixbuf