From 09bb352341d4519179bd462179608a73fecf426d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 22 Feb 2014 05:58:20 +0100 Subject: add icons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift-tray.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/blueshift-tray.py') 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() -- cgit v1.2.3-70-g09d2