prevent traceback If the gajim icon is absent
This commit is contained in:
		
							parent
							
								
									44afd960d0
								
							
						
					
					
						commit
						4a02b2d381
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -2779,8 +2779,9 @@ class Interface: | ||||||
|         self.systray = statusicon.StatusIcon() |         self.systray = statusicon.StatusIcon() | ||||||
| 
 | 
 | ||||||
|         pix = gtkgui_helpers.get_icon_pixmap('gajim', 32) |         pix = gtkgui_helpers.get_icon_pixmap('gajim', 32) | ||||||
|         # set the icon to all windows |         if pix is not None: | ||||||
|         gtk.window_set_default_icon(pix) |             # set the icon to all windows | ||||||
|  |             gtk.window_set_default_icon(pix) | ||||||
| 
 | 
 | ||||||
|         self.init_emoticons() |         self.init_emoticons() | ||||||
|         self.make_regexps() |         self.make_regexps() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue