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. --- src/gtk-redshift/statusicon.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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