ask to re-build actions menu when needed. Fixes #1676
This commit is contained in:
parent
19ad69e3dd
commit
088d8dbac9
|
@ -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].bookmarks.append(bmdict)
|
||||||
|
|
||||||
gajim.connections[account_unicode].store_bookmarks()
|
gajim.connections[account_unicode].store_bookmarks()
|
||||||
gajim.interface.roster.make_menu()
|
gajim.interface.roster.actions_menu_needs_rebuild = True
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
|
|
||||||
def on_cancel_button_clicked(self, widget):
|
def on_cancel_button_clicked(self, widget):
|
||||||
|
|
|
@ -1183,7 +1183,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
gajim.connections[self.account].bookmarks.append(bm)
|
gajim.connections[self.account].bookmarks.append(bm)
|
||||||
gajim.connections[self.account].store_bookmarks()
|
gajim.connections[self.account].store_bookmarks()
|
||||||
|
|
||||||
gajim.interface.roster.make_menu()
|
gajim.interface.roster.actions_menu_needs_rebuild = True
|
||||||
|
|
||||||
dialogs.InformationDialog(
|
dialogs.InformationDialog(
|
||||||
_('Bookmark has been added successfully'),
|
_('Bookmark has been added successfully'),
|
||||||
|
|
Loading…
Reference in New Issue