From: Shane Pepperell Date: Sat, 14 Jan 2023 05:19:12 +0000 (+0000) Subject: added back icon code X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=c31efbf01c86e8a5014e735cd8679373c81d2888;p=forks%2Fpeks-announcer.git added back icon code --- c31efbf01c86e8a5014e735cd8679373c81d2888 diff --cc announcer.pyw index 29dd5bc,2b18bf3..c664b59 --- a/announcer.pyw +++ b/announcer.pyw @@@ -292,8 -292,6 +292,7 @@@ if __name__ == '__main__' gui.geometry("260x125") gui.title("Peks Announcer") gui.protocol("WM_DELETE_WINDOW", close_script) - img = PhotoImage("appicon.ico") - gui.iconphoto(True, img) ++ gui.wm_iconbitmap("appicon.ico") title = Label(text="Hello World") title.grid(row=0, column=0) volume_slider = Scale(gui, from_=0, to=100, orient=HORIZONTAL, command=update_volume)