projects
/
indicator-chars.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added: New, more Unity like, icon.
[indicator-chars.git]
/
indicator-chars.py
diff --git
a/indicator-chars.py
b/indicator-chars.py
index
3c57031
..
7111568
100755
(executable)
--- 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'
class IndicatorChars:
CHARS_PATH = os.getenv('HOME') + '/.indicator-chars'
+ SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
def __init__(self):
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()
self.ind.set_status(appindicator.STATUS_ACTIVE)
self.update_menu()