Do not TB if systray is not available.
This commit is contained in:
		
							parent
							
								
									3504a77713
								
							
						
					
					
						commit
						124f1c641e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -3133,6 +3133,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
 | 
				
			||||||
				model[iter][1] = self.jabber_state_images['16'][model[iter][2]]
 | 
									model[iter][1] = self.jabber_state_images['16'][model[iter][2]]
 | 
				
			||||||
			iter = model.iter_next(iter)
 | 
								iter = model.iter_next(iter)
 | 
				
			||||||
		# Update the systray
 | 
							# Update the systray
 | 
				
			||||||
 | 
							if gajim.interface.systray_enabled:
 | 
				
			||||||
			gajim.interface.systray.set_img()
 | 
								gajim.interface.systray.set_img()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		for win in gajim.interface.msg_win_mgr.windows():
 | 
							for win in gajim.interface.msg_win_mgr.windows():
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue