From 9119151680c58f984c8bb688706cafed9e4b0573 Mon Sep 17 00:00:00 2001 From: Tobias Schlitt Date: Wed, 19 Oct 2011 08:44:38 +0200 Subject: [PATCH] Added: New, more Unity like, icon. This icon suites the Unity optics much better, although it is still not perfect. Thx to @vovkkk for the SVG version, for which I postprocessed the PNG export a bit in GIMP to make it look less blurry. Still: If someone feels to make a better icon, feel welcome to suggest one. --- indicator-chars.py | 3 ++- light16x16.png | Bin 0 -> 338 bytes light16x16.svg | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 light16x16.png create mode 100644 light16x16.svg 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() diff --git a/light16x16.png b/light16x16.png new file mode 100644 index 0000000000000000000000000000000000000000..d18eae54b9c691750c106b0bfb6c7bb3a0d70353 GIT binary patch literal 338 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=f!eQwFr$;k>z2gr#sQXT>hjM7WvEnuB9*<80EQvA>#10bJGNPu-x{0fe9jNxXJ|8w*yCGni`W^FIq z#oG5@?^SKa!fuw=FD}j2wq;0O<`J32J)@c0Lbm#b~6Am`&uKo+f z7w`VVbH>wM>e>;H4|#KBA7$$9P4X9HkNE4`#J6Hw%teOYy+0@3TKl2Tjjez`X8M5x aXU$FDJI(2ueseX@cMP7celF{r5}E)*I)3>8 literal 0 HcmV?d00001 diff --git a/light16x16.svg b/light16x16.svg new file mode 100644 index 0000000..59a2a60 --- /dev/null +++ b/light16x16.svg @@ -0,0 +1,41 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + -- 2.7.4