Huh, you do realize this is written in C++ using Gtkmm, right? ;-)

I beg to differ on the proper fix:

diff --git a/src/finddialog.cpp b/src/finddialog.cpp
index d322395..3433b86 100644
--- a/src/finddialog.cpp
+++ b/src/finddialog.cpp
@@ -49,8 +49,8 @@ Gobby::FindDialog::FindDialog(Gobby::Window& parent):
        m_radio_up(m_group_direction, _("_Up"), true),
        m_radio_down(m_group_direction, _("_Down"), true),
        m_btn_find(Gtk::Stock::FIND),
-       m_btn_replace(_("_Replace") ),
-       m_btn_replace_all(_("Replace _all") ),
+       m_btn_replace(_("_Replace"), true),
+       m_btn_replace_all(_("Replace _all"), true),
        m_btn_close(Gtk::Stock::CLOSE),
        m_regex("")
 {

Rationale: The button creation misses the mnemonic=true flag, which
boils down to the same as your patch but is much cleaner.  As you see
for m_radio_{up,down}: it does the same.  I'll commit this upstream
shortly.

-- 
Search and Replace dialog shows buttons with underscore instead of underline
https://bugs.launchpad.net/bugs/421312
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to