aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtk-redshift
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk-redshift')
-rw-r--r--src/gtk-redshift/statusicon.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gtk-redshift/statusicon.py b/src/gtk-redshift/statusicon.py
index 8019ad4..82b5cd6 100644
--- a/src/gtk-redshift/statusicon.py
+++ b/src/gtk-redshift/statusicon.py
@@ -50,6 +50,10 @@ def run():
def toggle_cb(widget, data=None):
process.send_signal(signal.SIGUSR1)
+ if status_icon.get_icon_name() == 'redshift':
+ status_icon.set_from_icon_name('redshift-idle')
+ else:
+ status_icon.set_from_icon_name('redshift')
def autostart_cb(widget, data=None):
utils.set_autostart(widget.get_active())