redraw acount row to have correct online / total number of contacts when we minimize / open / disconnect from a groupchat. fixes #3247
This commit is contained in:
parent
ebb5c511f3
commit
6c328e2a33
|
@ -439,6 +439,7 @@ class RosterWindow:
|
|||
self.add_contact_to_roster(jid, account)
|
||||
for group in contact.groups:
|
||||
self.draw_group(group, account)
|
||||
self.draw_account(account)
|
||||
return contact
|
||||
|
||||
def get_self_contact_iter(self, account):
|
||||
|
@ -1845,6 +1846,7 @@ class RosterWindow:
|
|||
self.remove_contact(contact, account)
|
||||
gajim.contacts.remove_contact(account, contact)
|
||||
self.draw_group(_('Groupchats'), account)
|
||||
self.draw_account(account)
|
||||
|
||||
def on_send_single_message_menuitem_activate(self, widget, account,
|
||||
contact = None):
|
||||
|
@ -2531,6 +2533,7 @@ class RosterWindow:
|
|||
self.remove_contact(contact, account)
|
||||
gajim.contacts.remove_contact(account, contact)
|
||||
self.draw_group(_('Groupchats'), account)
|
||||
self.draw_account(account)
|
||||
|
||||
def make_group_menu(self, event, iter):
|
||||
'''Make group's popup menu'''
|
||||
|
|
Loading…
Reference in New Issue