[Rhythmbox-devel] [PATCH] Fix missing use_underline in Lyrics plugin buttons



Two buttons in the lyrics plugin (Search Again, Edit) displayed regular
underlines, instead of mnemonics.

Signed-off-by: Oren Held <orenhe il ibm com>
---
 plugins/lyrics/lyrics.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/lyrics/lyrics.py b/plugins/lyrics/lyrics.py
index 9d427eb..8924628 100644
--- a/plugins/lyrics/lyrics.py
+++ b/plugins/lyrics/lyrics.py
@@ -220,9 +220,9 @@ class LyricPane(object):
 			self.get_lyrics()
 	   
 
-		self.edit = Gtk.ToggleButton(label=_("_Edit"))
+		self.edit = Gtk.ToggleButton(label=_("_Edit"), use_underline=True)
 		self.edit.connect('toggled', edit_callback)
-		self.discard = Gtk.Button(label=_("_Search again"))
+		self.discard = Gtk.Button(label=_("_Search again"), use_underline=True)
 		self.discard.connect('clicked', discard_callback)
 		self.clear = Gtk.Button.new_from_stock(Gtk.STOCK_CLEAR)
 		self.clear.connect('clicked', clear_callback)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]