projects
/
indicator-chars.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd443cc
)
replace custom icon with a theme icon name
author
Cyrille Giquello
<cyrille37@gmail.com>
Tue, 23 Oct 2012 21:22:10 +0000
(23:22 +0200)
committer
Cyrille Giquello
<cyrille37@gmail.com>
Tue, 23 Oct 2012 21:22:10 +0000
(23:22 +0200)
indicator-chars.py
patch
|
blob
|
blame
|
history
diff --git
a/indicator-chars.py
b/indicator-chars.py
index
6434a1e
..
50fcee6
100755
(executable)
--- a/
indicator-chars.py
+++ b/
indicator-chars.py
@@
-50,7
+50,10
@@
class IndicatorChars:
def __init__(self):
self.ind = appindicator.Indicator(
- "Chars", os.path.join(self.SCRIPT_DIR, 'light16x16.png'),
+ # Custom icon seems to doesn't work on my Ubuntu 12.04 LTS running Unity 2D
+ #"Chars", os.path.join(self.SCRIPT_DIR, 'light16x16.png'),
+ # So fallback to an referenced theme's icon name
+ "Chars", "accessories-character-map",
appindicator.CATEGORY_APPLICATION_STATUS)
self.ind.set_status(appindicator.STATUS_ACTIVE)