From 8e144e46f8524a8a84fc97ffb7b93ef3b673b86e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 4 Apr 2018 14:34:41 +0200 Subject: [PATCH] Use XMPP logo in add contact dialog for XMPP protocol. Fixes #9049 --- .../icons/hicolor/scalable/status/xmpp.svg | 25 +++++++++++++++++++ gajim/dialogs.py | 3 +-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 gajim/data/icons/hicolor/scalable/status/xmpp.svg diff --git a/gajim/data/icons/hicolor/scalable/status/xmpp.svg b/gajim/data/icons/hicolor/scalable/status/xmpp.svg new file mode 100644 index 000000000..10b659c3a --- /dev/null +++ b/gajim/data/icons/hicolor/scalable/status/xmpp.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gajim/dialogs.py b/gajim/dialogs.py index f965c69de..78ead7285 100644 --- a/gajim/dialogs.py +++ b/gajim/dialogs.py @@ -937,8 +937,7 @@ class AddNewContactWindow: uf_type = {'jabber': 'XMPP', 'aim': 'AIM', 'gadu-gadu': 'Gadu Gadu', 'icq': 'ICQ', 'msn': 'MSN', 'yahoo': 'Yahoo'} # Jabber as first - online_icon = gtkgui_helpers.get_iconset_name_for('online') - liststore.append(['XMPP', online_icon, 'jabber']) + liststore.append(['XMPP', 'xmpp', 'jabber']) for type_ in self.agents: if type_ == 'jabber': continue