From a5874125ee6f6124fa7e0952d4844a072b14a685 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Mon, 18 Oct 2010 00:36:57 +0200 Subject: Separate the redshift.svg icon into an application icon and a status icon (redshift-status-on.svg). Rename redshift-idle.svg to redshift-status-off.svg. --- Makefile.am | 13 +- data/icons/hicolor/scalable/apps/redshift-idle.svg | 2395 -------------------- .../hicolor/scalable/apps/redshift-status-off.svg | 2395 ++++++++++++++++++++ .../hicolor/scalable/apps/redshift-status-on.svg | 2185 ++++++++++++++++++ .../scalable/apps/redshift-idle.svg | 459 ---- .../scalable/apps/redshift-status-off.svg | 459 ++++ .../scalable/apps/redshift-status-on.svg | 460 ++++ .../ubuntu-mono-dark/scalable/apps/redshift.svg | 460 ---- .../scalable/apps/redshift-idle.svg | 525 ----- .../scalable/apps/redshift-status-off.svg | 525 +++++ .../scalable/apps/redshift-status-on.svg | 635 ++++++ .../ubuntu-mono-light/scalable/apps/redshift.svg | 635 ------ src/gtk-redshift/statusicon.py | 10 +- 13 files changed, 6672 insertions(+), 4484 deletions(-) delete mode 100644 data/icons/hicolor/scalable/apps/redshift-idle.svg create mode 100644 data/icons/hicolor/scalable/apps/redshift-status-off.svg create mode 100644 data/icons/hicolor/scalable/apps/redshift-status-on.svg delete mode 100644 data/icons/ubuntu-mono-dark/scalable/apps/redshift-idle.svg create mode 100644 data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg create mode 100644 data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg delete mode 100644 data/icons/ubuntu-mono-dark/scalable/apps/redshift.svg delete mode 100644 data/icons/ubuntu-mono-light/scalable/apps/redshift-idle.svg create mode 100644 data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg create mode 100644 data/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg delete mode 100644 data/icons/ubuntu-mono-light/scalable/apps/redshift.svg diff --git a/Makefile.am b/Makefile.am index a4cd32b..89055e3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,15 +5,18 @@ ACLOCAL_AMFLAGS = -I m4 # Icons hicolor_icondir = @datadir@/icons/hicolor/scalable/apps hicolor_icon_DATA = data/icons/hicolor/scalable/apps/redshift.svg \ - data/icons/hicolor/scalable/apps/redshift-idle.svg + data/icons/hicolor/scalable/apps/redshift-status-on.svg \ + data/icons/hicolor/scalable/apps/redshift-status-off.svg ubuntu_mono_dark_icondir = @datadir@/icons/ubuntu-mono-dark/scalable/apps -ubuntu_mono_dark_icon_DATA = data/icons/ubuntu-mono-dark/scalable/apps/redshift.svg \ - data/icons/ubuntu-mono-dark/scalable/apps/redshift-idle.svg +ubuntu_mono_dark_icon_DATA = \ + data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg \ + data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg ubuntu_mono_light_icondir = @datadir@/icons/ubuntu-mono-light/scalable/apps -ubuntu_mono_light_icon_DATA = data/icons/ubuntu-mono-light/scalable/apps/redshift.svg \ - data/icons/ubuntu-mono-light/scalable/apps/redshift-idle.svg +ubuntu_mono_light_icon_DATA = \ + data/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg \ + data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg # Desktop file diff --git a/data/icons/hicolor/scalable/apps/redshift-idle.svg b/data/icons/hicolor/scalable/apps/redshift-idle.svg deleted file mode 100644 index 9125a20..0000000 --- a/data/icons/hicolor/scalable/apps/redshift-idle.svg +++ /dev/null @@ -1,2395 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/icons/hicolor/scalable/apps/redshift-status-off.svg b/data/icons/hicolor/scalable/apps/redshift-status-off.svg new file mode 100644 index 0000000..9125a20 --- /dev/null +++ b/data/icons/hicolor/scalable/apps/redshift-status-off.svg @@ -0,0 +1,2395 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/hicolor/scalable/apps/redshift-status-on.svg b/data/icons/hicolor/scalable/apps/redshift-status-on.svg new file mode 100644 index 0000000..68cee9f --- /dev/null +++ b/data/icons/hicolor/scalable/apps/redshift-status-on.svg @@ -0,0 +1,2185 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/ubuntu-mono-dark/scalable/apps/redshift-idle.svg b/data/icons/ubuntu-mono-dark/scalable/apps/redshift-idle.svg deleted file mode 100644 index 5bf4883..0000000 --- a/data/icons/ubuntu-mono-dark/scalable/apps/redshift-idle.svg +++ /dev/null @@ -1,459 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg b/data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg new file mode 100644 index 0000000..5bf4883 --- /dev/null +++ b/data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg @@ -0,0 +1,459 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg b/data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg new file mode 100644 index 0000000..86ac824 --- /dev/null +++ b/data/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg @@ -0,0 +1,460 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/data/icons/ubuntu-mono-dark/scalable/apps/redshift.svg b/data/icons/ubuntu-mono-dark/scalable/apps/redshift.svg deleted file mode 100644 index 86ac824..0000000 --- a/data/icons/ubuntu-mono-dark/scalable/apps/redshift.svg +++ /dev/null @@ -1,460 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - diff --git a/data/icons/ubuntu-mono-light/scalable/apps/redshift-idle.svg b/data/icons/ubuntu-mono-light/scalable/apps/redshift-idle.svg deleted file mode 100644 index 737fd64..0000000 --- a/data/icons/ubuntu-mono-light/scalable/apps/redshift-idle.svg +++ /dev/null @@ -1,525 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg b/data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg new file mode 100644 index 0000000..737fd64 --- /dev/null +++ b/data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg @@ -0,0 +1,525 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg b/data/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg new file mode 100644 index 0000000..2ea5d42 --- /dev/null +++ b/data/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg @@ -0,0 +1,635 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/ubuntu-mono-light/scalable/apps/redshift.svg b/data/icons/ubuntu-mono-light/scalable/apps/redshift.svg deleted file mode 100644 index 2ea5d42..0000000 --- a/data/icons/ubuntu-mono-light/scalable/apps/redshift.svg +++ /dev/null @@ -1,635 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/gtk-redshift/statusicon.py b/src/gtk-redshift/statusicon.py index c5c12ac..29801e8 100644 --- a/src/gtk-redshift/statusicon.py +++ b/src/gtk-redshift/statusicon.py @@ -60,21 +60,21 @@ def run(): else: # Create status icon status_icon = gtk.StatusIcon() - status_icon.set_from_icon_name('redshift') + status_icon.set_from_icon_name('redshift-status-on') status_icon.set_tooltip('Redshift') def toggle_cb(widget, data=None): process.send_signal(signal.SIGUSR1) if appindicator: if indicator.get_icon() == 'redshift': - indicator.set_icon('redshift-idle') + indicator.set_icon('redshift-status-off') else: - indicator.set_icon('redshift') + indicator.set_icon('redshift-status-on') else: if status_icon.get_icon_name() == 'redshift': - status_icon.set_from_icon_name('redshift-idle') + status_icon.set_from_icon_name('redshift-status-off') else: - status_icon.set_from_icon_name('redshift') + status_icon.set_from_icon_name('redshift-status-on') def autostart_cb(widget, data=None): utils.set_autostart(widget.get_active()) -- cgit v1.2.3-70-g09d2