mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #24137: Fixed IDLE on Linux with tkinter default root disabled.
This commit is contained in:
		
							parent
							
								
									2d8f94532b
								
							
						
					
					
						commit
						d3af156ded
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1562,7 +1562,8 @@ def main(): | |||
|         ext = '.png' if TkVersion >= 8.6 else '.gif' | ||||
|         iconfiles = [os.path.join(icondir, 'idle_%d%s' % (size, ext)) | ||||
|                      for size in (16, 32, 48)] | ||||
|         icons = [PhotoImage(file=iconfile) for iconfile in iconfiles] | ||||
|         icons = [PhotoImage(master=root, file=iconfile) | ||||
|                  for iconfile in iconfiles] | ||||
|         root.wm_iconphoto(True, *icons) | ||||
| 
 | ||||
|     # start editor and/or shell windows: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka