prevent a TB described in #1446
This commit is contained in:
		
							parent
							
								
									7c4b24f2fd
								
							
						
					
					
						commit
						269cc48fb2
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -263,6 +263,8 @@ class SystrayWin32(systray.Systray):
 | 
				
			||||||
			self.on_left_click()
 | 
								self.on_left_click()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def add_jid(self, jid, account, typ):
 | 
						def add_jid(self, jid, account, typ):
 | 
				
			||||||
 | 
							if self.systray_winapi.notify_icon is None:
 | 
				
			||||||
 | 
								return
 | 
				
			||||||
		systray.Systray.add_jid(self, jid, account, typ)
 | 
							systray.Systray.add_jid(self, jid, account, typ)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		nb = gajim.interface.roster.nb_unread
 | 
							nb = gajim.interface.roster.nb_unread
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue