diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-22 05:58:20 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-22 05:58:20 +0100 |
commit | 09bb352341d4519179bd462179608a73fecf426d (patch) | |
tree | c472bf47e68f5c105452609a894384710ab427bd /src | |
parent | update makefile (diff) | |
download | blueshift-tray-09bb352341d4519179bd462179608a73fecf426d.tar.gz blueshift-tray-09bb352341d4519179bd462179608a73fecf426d.tar.bz2 blueshift-tray-09bb352341d4519179bd462179608a73fecf426d.tar.xz |
add icons
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/blueshift-tray.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/blueshift-tray.py b/src/blueshift-tray.py index 0e14e43..e4be23e 100755 --- a/src/blueshift-tray.py +++ b/src/blueshift-tray.py @@ -59,10 +59,10 @@ def create_menu(menu, image, title, function): def f_toggle(widget, data = None): process.send_signal(signal.SIGUSR2) - if icon.get_icon_name() == 'redshift-status-on': - icon.set_from_icon_name('redshift-status-off') + if icon.get_icon_name() == 'blueshift-on': + icon.set_from_icon_name('blueshift-off') else: - icon.set_from_icon_name('redshift-status-on') + icon.set_from_icon_name('blueshift-on') def f_reload(widget, data = None): process.send_signal(signal.SIGUSR1) @@ -94,7 +94,7 @@ def f_popup(widget, button, time, data = None): try: icon = gtk.StatusIcon() - icon.set_from_icon_name('redshift-status-on') + icon.set_from_icon_name('blueshift-on') icon.set_tooltip('Blueshift') menu = gtk.Menu() |