Commit 51464d0c authored by Dicson's avatar Dicson

ClientsIconsPlugin. Add Poezio icon.

parent ee1515f6
......@@ -145,6 +145,7 @@ clients = {
'http://opensource.palm.com/packages.html': ['palm.png', 'Palm'],
'http://spectrum.im/': ['spectrum.png', 'Spectrum'],
'http://tigase.org/messenger': ['tigase.png', 'Tigase'],
'httр://sleekxmpp.com/ver/1.1.11': ['poezio.png', 'Poezio'],
}
libpurple_clients ={
'adium': 'http://www.adium.im/',
......@@ -288,6 +289,9 @@ class ClientsIconsPlugin(GajimPlugin):
if client in contact.resource.lower():
caps = libpurple_clients[client]
if 'sleekxmpp.com'in caps:
caps = 'httр://sleekxmpp.com/ver/1.1.11'
caps_from_jid = self.check_jid(contact.jid)
if caps_from_jid:
caps = caps_from_jid
......@@ -506,6 +510,8 @@ class ClientsIconsPlugin(GajimPlugin):
for client in libpurple_clients:
if client in contact.resource.lower():
caps = libpurple_clients[client]
if 'sleekxmpp.com'in caps:
caps = 'httр://sleekxmpp.com/ver/1.1.11'
caps_from_jid = self.check_jid(iq_obj.jid)
if caps_from_jid:
......@@ -527,6 +533,8 @@ class ClientsIconsPlugin(GajimPlugin):
caps = tag[0].getAttr('node')
if 'pidgin.im' in caps:
caps = 'libpurple'
if 'sleekxmpp.com' in caps:
caps = 'httр://sleekxmpp.com/ver/1.1.11'
iter_ = iq_obj.gc_control.get_contact_iter(iq_obj.nick)
model = iq_obj.gc_control.model
if model[iter_][self.muc_renderer_num] is not None:
......
[info]
name: Clients icons
short_name: clients_icons
version: 4.2
version: 4.3
description: Shows the client icons in the roster
and in groupchats.
For icons in tooltip support, you need to install Gajim r14117 or above.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment