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

Commits:

3 changed files:

Changes:

  • gajim/gtk/message_actions_box.py
    ... ... @@ -108,7 +108,7 @@ def __init__(self) -> None:
    108 108
     
    
    109 109
             self._connect_actions()
    
    110 110
     
    
    111
    -        app.plugin_manager.gui_extension_point(
    
    111
    +        app.plugin_manager.extension_point(
    
    112 112
                 'message_actions_box', self, self._ui.box)
    
    113 113
     
    
    114 114
         def get_current_contact(self) -> ChatContactT:
    

  • gajim/gtk/message_input.py
    ... ... @@ -112,7 +112,7 @@ def __init__(self) -> None:
    112 112
             self._language_handler_id = self._init_spell_checker()
    
    113 113
             app.settings.connect_signal('use_speller', self._on_toggle_spell_check)
    
    114 114
     
    
    115
    -        app.plugin_manager.gui_extension_point('message_input', self)
    
    115
    +        app.plugin_manager.extension_point('message_input', self)
    
    116 116
     
    
    117 117
         @property
    
    118 118
         def is_correcting(self) -> bool:
    

  • gajim/gtk/tooltips.py
    ... ... @@ -118,7 +118,7 @@ def _populate_grid(self, contact: types.GroupchatParticipant) -> None:
    118 118
             self._ui.avatar.show()
    
    119 119
             self._ui.fillelement.show()
    
    120 120
     
    
    121
    -        app.plugin_manager.gui_extension_point(
    
    121
    +        app.plugin_manager.extension_point(
    
    122 122
                 'gc_tooltip_populate', self, contact, self._ui.tooltip_grid)
    
    123 123
     
    
    124 124
         def destroy(self) -> None:
    
    ... ... @@ -177,7 +177,7 @@ def _populate_grid(self, contact: types.BareContact) -> None:
    177 177
     
    
    178 178
             self._append_pep_info(contact)
    
    179 179
     
    
    180
    -        app.plugin_manager.gui_extension_point(
    
    180
    +        app.plugin_manager.extension_point(
    
    181 181
                 'roster_tooltip_populate', self, contact)
    
    182 182
     
    
    183 183
             # This sets the bottom-most widget to expand, in case the avatar
    
    ... ... @@ -245,7 +245,7 @@ def _add_resources(self, contact: types.BareContact) -> None:
    245 245
                     idle_label.set_xalign(0)
    
    246 246
                     resource_box.add(idle_label)
    
    247 247
     
    
    248
    -            app.plugin_manager.gui_extension_point(
    
    248
    +            app.plugin_manager.extension_point(
    
    249 249
                     'roster_tooltip_resource_populate',
    
    250 250
                     resource_box,
    
    251 251
                     resource)