Commit 435156ab authored by Dicson's avatar Dicson

ClientsIcons.fix icons in gc after reconect

parent 04ef8e9e
......@@ -329,7 +329,7 @@ class ClientsIconsPlugin(GajimPlugin):
if tag:
caps = tag[0].getAttr('node')
iter_ = iq_obj.gc_control.get_contact_iter(iq_obj.nick.decode('utf-8'))
model = iq_obj.gc_control.list_treeview.get_model()
model = iq_obj.gc_control.model
if model[iter_][self.muc_renderer_num] is not None:
return
self.set_icon(model, iter_, self.muc_renderer_num, caps)
......@@ -375,6 +375,7 @@ class ClientsIconsPluginConfigDialog(GajimPluginConfigDialog):
self.GTK_BUILDER_FILE_PATH = self.plugin.local_file_path(
'config_dialog.ui')
self.xml = gtk.Builder()
self.xml.set_translation_domain('gajim_plugins')
self.xml.add_objects_from_file(self.GTK_BUILDER_FILE_PATH,
['vbox1'])
vbox = self.xml.get_object('vbox1')
......
[info]
name: Clients icons
short_name: clients_icons
version: 1.1
version: 1.2
description: Shows the client icons in the roster
and in groupchats.
Depends: Gajim > r12506
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-30 18:24+0400\n"
"POT-Creation-Date: 2011-08-30 20:22+0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -468,26 +468,6 @@ msgstr ""
msgid "Show icons in roster"
msgstr ""
#: community_plugins/chatstate/config_dialog.ui.h:1
#: community_plugins/plagins_translations/config_dialog.ui.h:1
msgid "is composing a message..."
msgstr ""
#: community_plugins/chatstate/config_dialog.ui.h:2
#: community_plugins/plagins_translations/config_dialog.ui.h:2
msgid "is doing something else"
msgstr ""
#: community_plugins/chatstate/config_dialog.ui.h:3
#: community_plugins/plagins_translations/config_dialog.ui.h:3
msgid "is paying attention to the conversation"
msgstr ""
#: community_plugins/chatstate/config_dialog.ui.h:4
#: community_plugins/plagins_translations/config_dialog.ui.h:4
msgid "paused composing a message"
msgstr ""
#: community_plugins/set_location/config_dialog.ui.h:1
msgid "A URI or URL pointing to information about the location"
msgstr ""
......@@ -634,22 +614,10 @@ msgid "Hide status combobox"
msgstr ""
#: community_plugins/roster_tweaks/config_dialog.ui.h:2
#: banner_tweaks/config_dialog.ui.h:6
msgid "If checked, status icon will be displayed in chat window banner."
msgstr ""
#: community_plugins/roster_tweaks/config_dialog.ui.h:3
#: banner_tweaks/config_dialog.ui.h:7
msgid ""
"If checked, status message of contact will be displayed in chat window "
"banner."
msgstr ""
#: community_plugins/roster_tweaks/config_dialog.ui.h:4
msgid "Show quick-change status field"
msgstr ""
#: community_plugins/roster_tweaks/config_dialog.ui.h:5
#: community_plugins/roster_tweaks/config_dialog.ui.h:3
msgid "Use Ctrl +M to hide/show menu"
msgstr ""
......@@ -1034,6 +1002,16 @@ msgid ""
"name in chat window banner."
msgstr ""
#: banner_tweaks/config_dialog.ui.h:6
msgid "If checked, status icon will be displayed in chat window banner."
msgstr ""
#: banner_tweaks/config_dialog.ui.h:7
msgid ""
"If checked, status message of contact will be displayed in chat window "
"banner."
msgstr ""
#: banner_tweaks/config_dialog.ui.h:8
msgid "Use small fonts for contact name and resource name"
msgstr ""
......
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