diff --git a/plugin.py b/plugin.py index 9f63c2c..a89878a 100644 --- a/plugin.py +++ b/plugin.py @@ -562,8 +562,9 @@ def run(bk): root.resizable(True, True) root.minsize(420, 325) root.option_add('*font', 'Arial -12') - img = tkinter.Image('photo', file=os.path.join(bk._w.plugin_dir, bk._w.plugin_name, 'images/icon.png')) - root.tk.call('wm','iconphoto',root._w,img) + if not sys.platform.startswith('darwin'): + img = tkinter.Image('photo', file=os.path.join(bk._w.plugin_dir, bk._w.plugin_name, 'images/icon.png')) + root.tk.call('wm','iconphoto',root._w,img) guiMain(root, bk).pack(fill=tkinter_constants.BOTH) root.mainloop() diff --git a/plugin.xml b/plugin.xml index 92b5758..23c8611 100644 --- a/plugin.xml +++ b/plugin.xml @@ -6,7 +6,7 @@ <description>Manipulate Spans, Divs and other tags.</description> <engine>python3.4</engine> <engine>python2.7</engine> -<version>0.4.2</version> +<version>0.4.3</version> <oslist>osx,unx,win</oslist> <autostart>true</autostart> <autoclose>true</autoclose>