diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-10-18 02:14:49 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-10-18 02:14:49 +0200 |
commit | 82c4aa5d67f14804cc19e883aea7b039201fd2b2 (patch) | |
tree | 5bbf8f113cf1a7c76b7b4913997a5669a026a8e7 /src | |
parent | Update redshift man page. (diff) | |
download | redshift-ng-82c4aa5d67f14804cc19e883aea7b039201fd2b2.tar.gz redshift-ng-82c4aa5d67f14804cc19e883aea7b039201fd2b2.tar.bz2 redshift-ng-82c4aa5d67f14804cc19e883aea7b039201fd2b2.tar.xz |
Update PO files.
Fix switch of status icons in gtk-redshift.
Diffstat (limited to 'src')
-rw-r--r-- | src/gtk-redshift/statusicon.py | 8 |
1 files changed, 4 insertions, 4 deletions
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()) |