From a988ac127416e3e053748188da6cd1fb0d0db482 Mon Sep 17 00:00:00 2001 From: Cyrille Giquello Date: Tue, 23 Oct 2012 23:22:10 +0200 Subject: [PATCH] replace custom icon with a theme icon name --- indicator-chars.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indicator-chars.py b/indicator-chars.py index 6434a1e..50fcee6 100755 --- 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) -- 2.7.4