From 82c4aa5d67f14804cc19e883aea7b039201fd2b2 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Mon, 18 Oct 2010 02:14:49 +0200 Subject: Update PO files. Fix switch of status icons in gtk-redshift. --- src/gtk-redshift/statusicon.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/gtk-redshift/statusicon.py b/src/gtk-redshift/statusicon.py index 26f54fe..9b80a6b 100644 --- a/src/gtk-redshift/statusicon.py +++ b/src/gtk-redshift/statusicon.py @@ -67,15 +67,15 @@ def run(): def toggle_cb(widget, data=None): process.send_signal(signal.SIGUSR1) if appindicator: - if indicator.get_icon() == 'redshift': + if indicator.get_icon() == 'redshift-status-on': indicator.set_icon('redshift-status-off') else: indicator.set_icon('redshift-status-on') else: - if status_icon.get_icon_name() == 'redshift': - status_icon.set_from_icon_name('redshift-status-off') + if status_icon.get_icon_name() == 'redshift-status-on': + status_icon.set_from_icon_name('redshift-status-off') else: - status_icon.set_from_icon_name('redshift-status-on') + 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