v1.4.0
This commit is contained in:
@@ -61,8 +61,14 @@ except:
|
||||
|
||||
settings = load_settings()
|
||||
|
||||
def set_window_icon(window):
|
||||
try:
|
||||
window.iconbitmap("icon.ico")
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
root = Tk()
|
||||
root.iconbitmap("icon.ico")
|
||||
set_window_icon(root)
|
||||
root.title("fcco Converter")
|
||||
root.geometry("800x1200")
|
||||
|
||||
@@ -134,7 +140,7 @@ def extract_event_from_folder(file_path):
|
||||
|
||||
def open_settings_window():
|
||||
win = Toplevel(root)
|
||||
win.iconbitmap("icon.ico")
|
||||
set_window_icon(win)
|
||||
win.title("Einstellungen")
|
||||
win.geometry("500x600")
|
||||
|
||||
@@ -200,7 +206,7 @@ def confirm_metadata_and_type():
|
||||
meta["year"] = str(datetime.now().year)
|
||||
|
||||
win = Toplevel(root)
|
||||
win.iconbitmap("icon.ico")
|
||||
set_window_icon(win)
|
||||
win.title("Metadaten und Exportoptionen")
|
||||
win.geometry("650x650")
|
||||
|
||||
@@ -422,7 +428,7 @@ def convert():
|
||||
|
||||
# Custom completion popup with "OK" and "Programm schließen"
|
||||
win = Toplevel(root)
|
||||
win.iconbitmap("icon.ico")
|
||||
set_window_icon(win)
|
||||
win.title("Konvertierung abgeschlossen")
|
||||
win.geometry("300x150")
|
||||
Label(win, text="Konvertierung abgeschlossen!", font=("Arial", 12)).pack(pady=20)
|
||||
|
||||
Reference in New Issue
Block a user