[Dicson] Fix gui extention point position in chat_control.py. Fixes #5974
This commit is contained in:
parent
8c7aabb0bf
commit
5ac4104326
|
@ -1533,6 +1533,10 @@ class ChatControl(ChatControlBase):
|
||||||
self.restore_conversation()
|
self.restore_conversation()
|
||||||
self.msg_textview.grab_focus()
|
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):
|
def update_toolbar(self):
|
||||||
# Formatting
|
# Formatting
|
||||||
if self.contact.supports(NS_XHTML_IM) and not self.gpg_is_active:
|
if self.contact.supports(NS_XHTML_IM) and not self.gpg_is_active:
|
||||||
|
@ -1602,10 +1606,6 @@ class ChatControl(ChatControlBase):
|
||||||
else:
|
else:
|
||||||
img.hide()
|
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):
|
def _update_jingle(self, jingle_type):
|
||||||
if jingle_type not in ('audio', 'video'):
|
if jingle_type not in ('audio', 'video'):
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue