This commit is contained in:
2025-07-26 12:52:37 +02:00
parent f9421fc602
commit 3250410f54
2 changed files with 7 additions and 6 deletions

View File

@@ -83,14 +83,15 @@ class CustomFileDialog(tk.Toplevel):
def load_icons(self):
try:
self.folder_icon_large = tk.PhotoImage(
file="./folder-water.png").zoom(1)
file="./folder-water-64.png").zoom(1)
self.file_icon_large = tk.PhotoImage(
file="./document.png").zoom(1)
file="./document-64.png").zoom(1)
self.iso_icon_large = tk.PhotoImage(
file="./media-optical.png").zoom(1)
self.folder_icon_small = tk.PhotoImage(file="./folder-water.png")
self.file_icon_small = tk.PhotoImage(file="./document.png")
self.iso_icon_small = tk.PhotoImage(file="./media-optical.png")
file="./media-optical-64.png").zoom(1)
self.folder_icon_small = tk.PhotoImage(
file="./folder-water-64.png")
self.file_icon_small = tk.PhotoImage(file="./document-64.png")
self.iso_icon_small = tk.PhotoImage(file="./media-optical-64.png")
except tk.TclError:
self.folder_icon_large = tk.PhotoImage(width=48, height=48)
self.file_icon_large = tk.PhotoImage(width=48, height=48)