From: Tobias Schlitt Date: Wed, 19 Oct 2011 06:44:38 +0000 (+0200) Subject: Added: New, more Unity like, icon. X-Git-Url: https://adrianiainlam.tk/git/?p=indicator-chars.git;a=commitdiff_plain;h=9119151680c58f984c8bb688706cafed9e4b0573 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. --- 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 0000000..d18eae5 Binary files /dev/null and b/light16x16.png differ 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 + + + + + + + + + + +