[francois] notifies dbus when a new gmail message arrives. Fixes #1961
This commit is contained in:
		
							parent
							
								
									1bb7edc5b5
								
							
						
					
					
						commit
						956ae9c34b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1039,6 +1039,9 @@ class Interface:
 | 
			
		|||
			notify.popup(_('New E-mail'), jid, account, 'gmail',
 | 
			
		||||
				path_to_image = path, title = title, text = text)
 | 
			
		||||
 | 
			
		||||
		if self.remote_ctrl:
 | 
			
		||||
			self.remote_ctrl.raise_signal('NewGmail', (account, array))
 | 
			
		||||
 | 
			
		||||
	def save_avatar_files(self, jid, photo_decoded, puny_nick = None):
 | 
			
		||||
		'''Save the decoded avatar to a separate file, and generate files for dbus notifications'''
 | 
			
		||||
		puny_jid = helpers.sanitize_filename(jid)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue