diff --git a/src/config.py b/src/config.py index d40fb369e..8d6f3727e 100644 --- a/src/config.py +++ b/src/config.py @@ -2308,7 +2308,7 @@ _('Please be sure to fill out server and room fields or remove this bookmark.')) gajim.connections[account_unicode].bookmarks.append(bmdict) gajim.connections[account_unicode].store_bookmarks() - gajim.interface.roster.make_menu() + gajim.interface.roster.actions_menu_needs_rebuild = True self.window.destroy() def on_cancel_button_clicked(self, widget): diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 0c833f2e9..85c55a751 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1183,7 +1183,7 @@ class GroupchatControl(ChatControlBase): gajim.connections[self.account].bookmarks.append(bm) gajim.connections[self.account].store_bookmarks() - gajim.interface.roster.make_menu() + gajim.interface.roster.actions_menu_needs_rebuild = True dialogs.InformationDialog( _('Bookmark has been added successfully'),