clients_icons. psto@psto.net support added

This commit is contained in:
Denis Fomin
2011-09-02 19:34:15 +03:00
parent b605838732
commit 71a989bb96
3 changed files with 4 additions and 1 deletions

View File

@@ -126,6 +126,7 @@ clients = {
'http://aspro.users.ru/historian-bot/': 'bot.png',
'http://pigeon.vpro.ru/caps': 'pigeon.png',
'http://jtalk.ustyugov.net/caps': 'jtalk.png',
'psto@psto.net': 'psto.png',
}
@@ -319,6 +320,8 @@ class ClientsIconsPlugin(GajimPlugin):
caps = 'http://juick.com/caps'
elif '@vk.com' in iq_obj.jid:
caps = 'vk.com'
elif 'psto@psto.net' in iq_obj.jid:
caps = 'psto@psto.net'
self.set_icon(roster.model, iter_, self.renderer_num, caps)
def gc_presence_received(self, iq_obj):

Binary file not shown.

After

Width:  |  Height:  |  Size: 798 B

View File

@@ -1,7 +1,7 @@
[info]
name: Clients icons
short_name: clients_icons
version: 1.2
version: 1.3
description: Shows the client icons in the roster
and in groupchats.
Depends: Gajim > r12506