ask to re-build actions menu when needed. Fixes #1676
This commit is contained in:
		
							parent
							
								
									19ad69e3dd
								
							
						
					
					
						commit
						088d8dbac9
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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): | ||||
|  |  | |||
|  | @ -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'), | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue