1
0
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:
Simon Marache-Francisco 2009-03-27 17:13:56 +01:00
parent 0136d8f138
commit df3efd5383

View File

@ -155,6 +155,7 @@ def init():
load_defaults()
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")
else: icon=gtk.status_icon_new_from_icon_name("help")
icon.set_visible(True)
icon.connect("popup-menu",popup)