From: Jean-Philippe Orsini Date: Thu, 22 Sep 2011 19:43:22 +0000 (+0000) Subject: different name for app icon and indicator X-Git-Tag: v0.8.0.5~648 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=66b3b6dba11ce92ba9f14b14a795438b358c7a47 different name for app icon and indicator --- diff --git a/NEWS b/NEWS index e6622a2..1754809 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,7 @@ ** psensor-server/web interface: fixed IE8 bug (page title change not allowed). ** psensor-server/web interface: dynamic refresh of the graph. +** psensor: added appindicator monochrome icons. * v0.6.2.10 ** psensor-server: added network, cpu load and memory information in diff --git a/icons/ubuntu-mono-dark/apps/22/Makefile.in b/icons/ubuntu-mono-dark/apps/22/Makefile.in index e73183b..e98885c 100644 --- a/icons/ubuntu-mono-dark/apps/22/Makefile.in +++ b/icons/ubuntu-mono-dark/apps/22/Makefile.in @@ -217,7 +217,7 @@ top_srcdir = @top_srcdir@ themedir = $(datadir)/icons/ubuntu-mono-dark size = 22 context = apps -EXTRA_DIST = psensor.svg psensor_hot.svg +EXTRA_DIST = psensor.svg psensordistpixdir = $(themedir)/$(context)/$(size) psensordistpix_DATA = $(EXTRA_DIST) all: all-am diff --git a/icons/ubuntu-mono-dark/status/22/Makefile.am b/icons/ubuntu-mono-dark/status/22/Makefile.am index ac74bf1..3817721 100644 --- a/icons/ubuntu-mono-dark/status/22/Makefile.am +++ b/icons/ubuntu-mono-dark/status/22/Makefile.am @@ -1,6 +1,6 @@ themedir = $(datadir)/icons/ubuntu-mono-dark size = 22 context = status -EXTRA_DIST = psensor.svg psensor_hot.svg +EXTRA_DIST = psensor_normal.svg psensor_hot.svg psensordistpixdir = $(themedir)/$(context)/$(size) psensordistpix_DATA = $(EXTRA_DIST) diff --git a/icons/ubuntu-mono-dark/status/22/Makefile.in b/icons/ubuntu-mono-dark/status/22/Makefile.in index a8c4f53..8ec144f 100644 --- a/icons/ubuntu-mono-dark/status/22/Makefile.in +++ b/icons/ubuntu-mono-dark/status/22/Makefile.in @@ -217,7 +217,7 @@ top_srcdir = @top_srcdir@ themedir = $(datadir)/icons/ubuntu-mono-dark size = 22 context = status -EXTRA_DIST = psensor.svg psensor_hot.svg +EXTRA_DIST = psensor_normal.svg psensor_hot.svg psensordistpixdir = $(themedir)/$(context)/$(size) psensordistpix_DATA = $(EXTRA_DIST) all: all-am diff --git a/icons/ubuntu-mono-dark/status/22/psensor.svg b/icons/ubuntu-mono-dark/status/22/psensor.svg deleted file mode 100644 index 50a43bf..0000000 --- a/icons/ubuntu-mono-dark/status/22/psensor.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/icons/ubuntu-mono-dark/status/22/psensor_normal.svg b/icons/ubuntu-mono-dark/status/22/psensor_normal.svg new file mode 100644 index 0000000..50a43bf --- /dev/null +++ b/icons/ubuntu-mono-dark/status/22/psensor_normal.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/ui_appindicator.c b/src/ui_appindicator.c index c89c7a8..3074ac2 100644 --- a/src/ui_appindicator.c +++ b/src/ui_appindicator.c @@ -254,7 +254,7 @@ void ui_appindicator_init(struct ui_psensor *ui) ui->indicator = app_indicator_new("psensor", - "psensor", + "psensor_normal", APP_INDICATOR_CATEGORY_APPLICATION_STATUS); APP_INDICATOR_GET_CLASS(ui->indicator)->fallback = unity_fallback;