[Dicson] Fix gui extention point position in chat_control.py. Fixes #5974

This commit is contained in:
Yann Leboulanger 2010-10-12 17:07:05 +02:00
parent 8c7aabb0bf
commit 5ac4104326
1 changed files with 4 additions and 4 deletions

View File

@ -1533,6 +1533,10 @@ class ChatControl(ChatControlBase):
self.restore_conversation()
self.msg_textview.grab_focus()
# PluginSystem: adding GUI extension point for this ChatControl
# instance object
gajim.plugin_manager.gui_extension_point('chat_control', self)
def update_toolbar(self):
# Formatting
if self.contact.supports(NS_XHTML_IM) and not self.gpg_is_active:
@ -1602,10 +1606,6 @@ class ChatControl(ChatControlBase):
else:
img.hide()
# PluginSystem: adding GUI extension point for this ChatControl
# instance object
gajim.plugin_manager.gui_extension_point('chat_control', self)
def _update_jingle(self, jingle_type):
if jingle_type not in ('audio', 'video'):
return