dont load image
This commit is contained in:
parent
d46e341448
commit
cbe5d30f44
1 changed files with 3 additions and 3 deletions
|
@ -76,9 +76,9 @@ class GtkUI:
|
|||
class TkUI:
|
||||
def __init__(self):
|
||||
self.root = Tk(className="Open Media Library")
|
||||
png = os.path.join(os.path.dirname(os.path.abspath('__file__')), 'static', 'png', 'oml.png')
|
||||
icon = PhotoImage(file=png)
|
||||
self.root.tk.call('wm', 'iconphoto', self.root._w, icon)
|
||||
#png = os.path.join(os.path.dirname(os.path.abspath('__file__')), 'static', 'png', 'oml.png')
|
||||
#icon = PhotoImage(file=png)
|
||||
#self.root.tk.call('wm', 'iconphoto', self.root._w, icon)
|
||||
self.root.withdraw() # hiding tkinter window
|
||||
if sys.platform == 'darwin':
|
||||
self.root.lift()
|
||||
|
|
Loading…
Reference in a new issue