@@ -166,15 +166,16 @@ def __init__(self, parent, initialdir="", initialfile="", mode="openfile",
166166 foreground = 'white' )
167167
168168 # --- images
169- self .im_file = tk .PhotoImage (file = cst .IM_FILE , master = self )
170- self .im_folder = tk .PhotoImage (file = cst .IM_FOLDER , master = self )
171- self .im_file_link = tk .PhotoImage (file = cst .IM_FILE_LINK , master = self )
172- self .im_folder_link = tk .PhotoImage (file = cst .IM_FOLDER_LINK , master = self )
173- self .im_new = tk .PhotoImage (file = cst .IM_NEW , master = self )
174- self .im_drive = tk .PhotoImage (file = cst .IM_DRIVE , master = self )
175- self .im_home = tk .PhotoImage (file = cst .IM_HOME , master = self )
176- self .im_recent = tk .PhotoImage (file = cst .IM_RECENT , master = self )
177- self .im_recent_24 = tk .PhotoImage (file = cst .IM_RECENT_24 , master = self )
169+ self .im_file = cst .PhotoImage (file = cst .IM_FILE , master = self )
170+ self .im_folder = cst .PhotoImage (file = cst .IM_FOLDER , master = self )
171+ self .im_desktop = cst .PhotoImage (file = cst .IM_DESKTOP , master = self )
172+ self .im_file_link = cst .PhotoImage (file = cst .IM_FILE_LINK , master = self )
173+ self .im_folder_link = cst .PhotoImage (file = cst .IM_FOLDER_LINK , master = self )
174+ self .im_new = cst .PhotoImage (file = cst .IM_NEW , master = self )
175+ self .im_drive = cst .PhotoImage (file = cst .IM_DRIVE , master = self )
176+ self .im_home = cst .PhotoImage (file = cst .IM_HOME , master = self )
177+ self .im_recent = cst .PhotoImage (file = cst .IM_RECENT , master = self )
178+ self .im_recent_24 = cst .PhotoImage (file = cst .IM_RECENT_24 , master = self )
178179
179180 # --- filetypes
180181 self .filetype = tk .StringVar (self )
@@ -310,7 +311,7 @@ def __init__(self, parent, initialdir="", initialfile="", mode="openfile",
310311 # but OSError in python2
311312 desktop = join (home , 'Desktop' )
312313 if exists (desktop ):
313- self .left_tree .insert ("" , "end" , iid = desktop , image = self .im_folder ,
314+ self .left_tree .insert ("" , "end" , iid = desktop , image = self .im_desktop ,
314315 text = split (desktop )[- 1 ])
315316 wrapper .add_tooltip (desktop , desktop )
316317
0 commit comments