Use good filename when saving avatar of a contact without a renamed nick. Fixes #2650.
This commit is contained in:
		
							parent
							
								
									943338b00b
								
							
						
					
					
						commit
						2e1e5ab218
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -941,7 +941,7 @@ class ChatControl(ChatControlBase): | |||
| 			menuitem = gtk.ImageMenuItem(gtk.STOCK_SAVE_AS) | ||||
| 			id = menuitem.connect('activate',  | ||||
| 				gtkgui_helpers.on_avatar_save_as_menuitem_activate, | ||||
| 				self.contact.jid, self.account, self.contact.name + '.jpeg') | ||||
| 				self.contact.jid, self.account, self.contact.get_shown_name() +\ 						'.jpeg') | ||||
| 			self.handlers[id] = menuitem | ||||
| 			menu.append(menuitem) | ||||
| 			menu.show_all() | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue