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

Commits:

2 changed files:

Changes:

  • gajim/groupchat_control.py
    ... ... @@ -511,7 +511,7 @@ class GroupchatControl(ChatControlBase):
    511 511
             self._show_page('muc-info')
    
    512 512
     
    
    513 513
         def _on_invite(self, _action, _param):
    
    514
    -        self._invite_box.update()
    
    514
    +        self._invite_box.load_contacts()
    
    515 515
             self._show_page('invite')
    
    516 516
     
    
    517 517
         def _on_invite_ready(self, _, invitable):
    

  • gajim/gtk/groupchat_invite.py
    ... ... @@ -54,8 +54,6 @@ class GroupChatInvite(Gtk.Box):
    54 54
             self._new_contact_row_visible = False
    
    55 55
             self._room_jid = room_jid
    
    56 56
     
    
    57
    -        self.update()
    
    58
    -
    
    59 57
             self._ui.search_entry.connect('search-changed',
    
    60 58
                                           self._on_search_changed)
    
    61 59
             self._ui.search_entry.connect('next-match',
    
    ... ... @@ -254,7 +252,7 @@ class GroupChatInvite(Gtk.Box):
    254 252
     
    
    255 253
             return locale.strcoll(name1.lower(), name2.lower())
    
    256 254
     
    
    257
    -    def update(self):
    
    255
    +    def load_contacts(self):
    
    258 256
             self._ui.contacts_listbox.foreach(self._ui.contacts_listbox.remove)
    
    259 257
             self._ui.invitees_listbox.foreach(self._ui.invitees_listbox.remove)
    
    260 258
             self._accounts = app.get_enabled_accounts_with_labels()