[PATCH] Fix missing use_underline in Lyrics plugin buttons

Oren Held <[email protected]>
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <20110625132254.GB26167@orenhe-laptop>
Two buttons in the lyrics plugin (Search Again, Edit) displayed regular
underlines, instead of mnemonics.

Signed-off-by: Oren Held <[email protected]>
---
 plugins/lyrics/lyrics.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

_______________________________________________
rhythmbox-devel mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
0001-Fix-missing-use_underline-in-Lyrics-plugin-buttons.patch (text/x-patch, 690 B)
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.