mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Bug corrected : default icon changed
This commit is contained in:
parent
0136d8f138
commit
df3efd5383
@ -155,6 +155,7 @@ def init():
|
|||||||
load_defaults()
|
load_defaults()
|
||||||
if os.path.isfile("icon.png"): icon=gtk.status_icon_new_from_file("icon.png")
|
if os.path.isfile("icon.png"): icon=gtk.status_icon_new_from_file("icon.png")
|
||||||
elif os.path.isfile("/usr/share/autojump/icon.png"): icon=gtk.status_icon_new_from_file("/usr/share/autojump/icon.png")
|
elif os.path.isfile("/usr/share/autojump/icon.png"): icon=gtk.status_icon_new_from_file("/usr/share/autojump/icon.png")
|
||||||
|
else: icon=gtk.status_icon_new_from_icon_name("help")
|
||||||
icon.set_visible(True)
|
icon.set_visible(True)
|
||||||
icon.connect("popup-menu",popup)
|
icon.connect("popup-menu",popup)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user