X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=indicator-chars.py;h=7111568a42b29ba73c5fde9edee0d93e2ea11198;hb=9119151680c58f984c8bb688706cafed9e4b0573;hp=3c570318e62cc131d1a6a701b5e415dff088ccf9;hpb=3853ba052057c7436ed66d2cc281fb3e95aa9f6d;p=indicator-chars.git diff --git a/indicator-chars.py b/indicator-chars.py index 3c57031..7111568 100755 --- a/indicator-chars.py +++ b/indicator-chars.py @@ -42,9 +42,10 @@ APP_VERSION = '0.1' class IndicatorChars: CHARS_PATH = os.getenv('HOME') + '/.indicator-chars' + SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) def __init__(self): - self.ind = appindicator.Indicator("Chars", "gnome-character-map", appindicator.CATEGORY_APPLICATION_STATUS) + self.ind = appindicator.Indicator("Chars", self.SCRIPT_DIR + '/light16x16.png', appindicator.CATEGORY_APPLICATION_STATUS) self.ind.set_status(appindicator.STATUS_ACTIVE) self.update_menu()