Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/history_window.py
    ... ... @@ -141,6 +141,11 @@ class HistoryWindow:
    141 141
             xml.connect_signals(self)
    
    142 142
             self.window.show_all()
    
    143 143
     
    
    144
    +        # PluginSystem: adding GUI extension point for
    
    145
    +        # HistoryWindow instance object
    
    146
    +        app.plugin_manager.gui_extension_point(
    
    147
    +            'history_window', self)
    
    148
    +
    
    144 149
         def _fill_completion_dict(self):
    
    145 150
             """
    
    146 151
             Fill completion_dict for key auto completion. Then load history for
    
    ... ... @@ -246,6 +251,10 @@ class HistoryWindow:
    246 251
             return account
    
    247 252
     
    
    248 253
         def on_history_window_destroy(self, widget):
    
    254
    +        # PluginSystem: removing GUI extension points connected with
    
    255
    +        # HistoryWindow instance object
    
    256
    +        app.plugin_manager.remove_gui_extension_point(
    
    257
    +            'history_window', self)
    
    249 258
             self.history_textview.del_handlers()
    
    250 259
             del app.interface.instances['logs']
    
    251 260