fixing a traceback after yann's commit and asking a qu for yann [as FIXME:]
This commit is contained in:
		
							parent
							
								
									e4dfc6e739
								
							
						
					
					
						commit
						723af5012a
					
				
					 3 changed files with 2 additions and 2 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB  | 
| 
						 | 
				
			
			@ -119,7 +119,7 @@ class Preferences_window:
 | 
			
		|||
		icon_string = model[active][0]
 | 
			
		||||
		gajim.config.set('iconset', icon_string)
 | 
			
		||||
		self.plugin.roster.reload_jabber_state_images()
 | 
			
		||||
		for a in gajim.connections:
 | 
			
		||||
		for a in gajim.connections: # FIXME: so this can be removed?? [see roster_window.py update_state_images call in reload_jabber_state_images()]
 | 
			
		||||
			for w in self.plugin.windows[a]['gc'].values():
 | 
			
		||||
				w.update_state_images()
 | 
			
		||||
		self.plugin.save_config()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1219,7 +1219,7 @@ class Roster_window:
 | 
			
		|||
			# Update opened groupchat windows
 | 
			
		||||
			for jid in self.plugin.windows[account]['gc']:
 | 
			
		||||
				if jid != 'tabbed':
 | 
			
		||||
					self.plugin.windows[account]['gc'][jid].update_state_images(jid)
 | 
			
		||||
					self.plugin.windows[account]['gc'][jid].update_state_images()
 | 
			
		||||
		# Update windows icons
 | 
			
		||||
		image = self.jabber_state_images['online'] # FIXME: we need an icon
 | 
			
		||||
		if image.get_storage_type() == gtk.IMAGE_ANIMATION:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue