pixbuf's names must not contain a space
This commit is contained in:
		
							parent
							
								
									f55a3f94ca
								
							
						
					
					
						commit
						a7f1063b4d
					
				
					 2 changed files with 4 additions and 3 deletions
				
			
		|  | @ -1688,10 +1688,11 @@ class roster_Window: | |||
| 			'offline', 'error', 'requested', 'message', 'opened', 'closed', \ | ||||
| 			'not in list'): | ||||
| 			# try to open a pixfile with the correct method | ||||
| 			state_file = state.replace(" ", "_") | ||||
| 			files = [] | ||||
| 			files.append(self.path + state + '.gif') | ||||
| 			files.append(self.path + state + '.png') | ||||
| 			files.append(self.path + state + '.xpm') | ||||
| 			files.append(self.path + state_file + '.gif') | ||||
| 			files.append(self.path + state_file + '.png') | ||||
| 			files.append(self.path + state_file + '.xpm') | ||||
| 			image = gtk.Image() | ||||
| 			image.show() | ||||
| 			self.pixbufs[state] = image | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue