Philipp Hörist pushed to branch master at gajim / gajim
Commits:
e97e7b13 by Thilo Molitor at 2017-11-03T17:45:03+01:00
Add gui extension point to history window
- - - - -
cb1d8cc7 by Philipp Hörist at 2017-11-03T23:24:28+01:00
Merge branch 'master' into 'master'
Add extension points to history window
See merge request gajim/gajim!147
- - - - -
1 changed file:
- gajim/history_window.py
Changes:
=====================================
gajim/history_window.py
=====================================
--- a/gajim/history_window.py
+++ b/gajim/history_window.py
@@ -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']
View it on GitLab:
https://dev.gajim.org/gajim/gajim/compare/20d5ea90e7718e6931fd271715e8b9e2dc91a8fb...cb1d8cc78c3cac88dcdf0befba791f111dc6566c
---
View it on GitLab:
https://dev.gajim.org/gajim/gajim/compare/20d5ea90e7718e6931fd271715e8b9e2dc91a8fb...cb1d8cc78c3cac88dcdf0befba791f111dc6566c
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits