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:
|
class TkUI:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.root = Tk(className="Open Media Library")
|
self.root = Tk(className="Open Media Library")
|
||||||
png = os.path.join(os.path.dirname(os.path.abspath('__file__')), 'static', 'png', 'oml.png')
|
#png = os.path.join(os.path.dirname(os.path.abspath('__file__')), 'static', 'png', 'oml.png')
|
||||||
icon = PhotoImage(file=png)
|
#icon = PhotoImage(file=png)
|
||||||
self.root.tk.call('wm', 'iconphoto', self.root._w, icon)
|
#self.root.tk.call('wm', 'iconphoto', self.root._w, icon)
|
||||||
self.root.withdraw() # hiding tkinter window
|
self.root.withdraw() # hiding tkinter window
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
self.root.lift()
|
self.root.lift()
|
||||||
|
|
Loading…
Reference in a new issue