re-build the menu when we re-draw the roster (account removed or added)
This commit is contained in:
parent
9f4a145e48
commit
7e080d6415
1 changed files with 2 additions and 0 deletions
|
@ -382,6 +382,7 @@ class RosterWindow:
|
|||
service_disco_menuitem.remove_submenu()
|
||||
join_gc_menuitem.remove_submenu()
|
||||
new_message_menuitem.remove_submenu()
|
||||
advanced_menuitem.remove_submenu()
|
||||
|
||||
#remove the existing accelerator
|
||||
if self.have_new_message_accel:
|
||||
|
@ -541,6 +542,7 @@ class RosterWindow:
|
|||
self.add_account_to_roster(acct)
|
||||
for jid in gajim.contacts[acct].keys():
|
||||
self.add_contact_to_roster(jid, acct)
|
||||
self.make_menu()
|
||||
|
||||
def fill_contacts_and_groups_dicts(self, array, account):
|
||||
'''fill gajim.contacts and gajim.groups'''
|
||||
|
|
Loading…
Add table
Reference in a new issue