aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtk-redshift
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2010-10-18 00:36:57 +0200
committerJon Lund Steffensen <jonlst@gmail.com>2010-10-18 00:36:57 +0200
commita5874125ee6f6124fa7e0952d4844a072b14a685 (patch)
treeb691e5ce2b27b668b63c1291eaca679a37df71b1 /src/gtk-redshift
parentUpdate AUTHORS, NEWS and configure.ac for 1.6 release. (diff)
downloadredshift-ng-a5874125ee6f6124fa7e0952d4844a072b14a685.tar.gz
redshift-ng-a5874125ee6f6124fa7e0952d4844a072b14a685.tar.bz2
redshift-ng-a5874125ee6f6124fa7e0952d4844a072b14a685.tar.xz
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.
Diffstat (limited to 'src/gtk-redshift')
-rw-r--r--src/gtk-redshift/statusicon.py10
1 files changed, 5 insertions, 5 deletions
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())