Skip to content

Commit

Permalink
Merge pull request #21 from Myoldmopar/QuickPolishing
Browse files Browse the repository at this point in the history
Fix taskbar icon on Windows
  • Loading branch information
Myoldmopar committed Jun 2, 2023
2 parents b59b3ba + fd55867 commit 519a855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion energyplus_pet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NAME = "energyplus_pet"
NICE_NAME = "EnergyPlus P.E.T."
VERSION = "0.49"
VERSION = "0.50"
2 changes: 1 addition & 1 deletion energyplus_pet/forms/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def __init__(self):
The main window of the parameter estimation tool GUI workflow.
This window is an instance of a tk.Tk object
"""
fixup_taskbar_icon_on_windows(NICE_NAME)
super().__init__(className=NAME)

# set some basic program information like title and an icon
Expand Down Expand Up @@ -65,7 +66,6 @@ def __init__(self):
self.iconphoto(False, img)
else:
print(f"Could not set icon for Windows, expecting to find it at {self.icon_path}")
fixup_taskbar_icon_on_windows(NICE_NAME)

# setup event listeners
self._gui_queue = Queue()
Expand Down

0 comments on commit 519a855

Please sign in to comment.