aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-04 18:09:27 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-04 18:09:27 +0200
commit7b43d9819730ebe014ab34e1685afdb9e77c9041 (patch)
tree03885ec97ce70284abdd792803bbc76c1f847b6d
parentToggle ==> Disable/Enable (diff)
downloadblueshift-tray-7b43d9819730ebe014ab34e1685afdb9e77c9041.tar.gz
blueshift-tray-7b43d9819730ebe014ab34e1685afdb9e77c9041.tar.bz2
blueshift-tray-7b43d9819730ebe014ab34e1685afdb9e77c9041.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-xsrc/blueshift-tray.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/blueshift-tray.py b/src/blueshift-tray.py
index 5dcc85a..b16cc48 100755
--- a/src/blueshift-tray.py
+++ b/src/blueshift-tray.py
@@ -109,7 +109,7 @@ def f_toggle(widget, data = None):
last_time = now
process.send_signal(signal.SIGUSR2)
icon.set_from_icon_name('blueshift-on' if paused else 'blueshift-off')
- toggle_menu.set_label(gettext.gettext('Disabl_e' if paused else 'Enabl_e'))
+ toggle_menu.set_label(gettext.gettext('_Disable' if paused else '_Enable'))
paused = not paused
def f_reload(widget, data = None):
@@ -147,10 +147,10 @@ try:
icon.set_tooltip('Blueshift')
menu = gtk.Menu()
- toggle_menu = create_menu(menu, None, 'Disabl_e', f_toggle)
- reload_menu = create_menu(menu, gtk.STOCK_REFRESH, '_Reload', f_reload)
+ toggle_menu = create_menu(menu, None, '_Disable', f_toggle)
+ reload_menu = create_menu(menu, gtk.STOCK_REFRESH, '_Reload', f_reload)
create_menu(menu, None, None, None)
- quit_menu = create_menu(menu, gtk.STOCK_QUIT, '_Quit', f_quit)
+ quit_menu = create_menu(menu, gtk.STOCK_QUIT, '_Quit', f_quit)
panic_quit_menu = create_menu(menu, gtk.STOCK_QUIT, '_Panic Quit', f_panic_quit)
icon.connect('activate', f_toggle)