Set gajim icon for history manager window too. Fixes #1986.
This commit is contained in:
		
							parent
							
								
									6d0e6b5289
								
							
						
					
					
						commit
						93fec9d9e1
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -57,6 +57,10 @@ except ImportError: | ||||||
| class HistoryManager: | class HistoryManager: | ||||||
| 
 | 
 | ||||||
| 	def __init__(self): | 	def __init__(self): | ||||||
|  | 		path_to_file = os.path.join(gajim.DATA_DIR, 'pixmaps/gajim.png') | ||||||
|  | 		pix = gtk.gdk.pixbuf_new_from_file(path_to_file) | ||||||
|  | 		gtk.window_set_default_icon(pix) # set the icon to all newly opened windows | ||||||
|  | 		 | ||||||
| 		if not os.path.exists(LOG_DB_PATH): | 		if not os.path.exists(LOG_DB_PATH): | ||||||
| 			dialogs.ErrorDialog(_('Cannot find history logs database'), | 			dialogs.ErrorDialog(_('Cannot find history logs database'), | ||||||
| 				'%s does not exist.' % LOG_DB_PATH) | 				'%s does not exist.' % LOG_DB_PATH) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue