Skip to content
Snippets Groups Projects
Commit cb1d8cc7 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Merge branch 'master' into 'master'

Add extension points to history window

See merge request gajim/gajim!147
parents 20d5ea90 e97e7b13
No related branches found
No related tags found
No related merge requests found
......@@ -141,6 +141,11 @@ class HistoryWindow:
xml.connect_signals(self)
self.window.show_all()
# PluginSystem: adding GUI extension point for
# HistoryWindow instance object
app.plugin_manager.gui_extension_point(
'history_window', self)
def _fill_completion_dict(self):
"""
Fill completion_dict for key auto completion. Then load history for
......@@ -246,6 +251,10 @@ class HistoryWindow:
return account
def on_history_window_destroy(self, widget):
# PluginSystem: removing GUI extension points connected with
# HistoryWindow instance object
app.plugin_manager.remove_gui_extension_point(
'history_window', self)
self.history_textview.del_handlers()
del app.interface.instances['logs']
......
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