Skip to content
Snippets Groups Projects
Commit 670524d5 authored by Dicson's avatar Dicson
Browse files

ClientsIconsPlugin. Add Poezio icon.

parent ca6be636
No related branches found
No related tags found
No related merge requests found
......@@ -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/',
......@@ -313,6 +314,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
......@@ -531,6 +535,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:
......@@ -552,6 +558,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.decode('utf-8'))
model = iq_obj.gc_control.model
if model[iter_][self.muc_renderer_num] is not None:
......
clients_icons/icons/poezio.png

3.2 KiB

[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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment