vcl/unx/gtk3/gtk3gtkinst.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 46581021108cc1f634ffc69c2776584d1f2847d1 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Apr 23 20:52:42 2018 +0100 Resolves: tdf#117183 exclude stock buttons from missing mnemonics Change-Id: Ib19f98e398216e8e240918fd82ac19c24b551709 Reviewed-on: https://gerrit.libreoffice.org/53362 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 74a4c3473011..0c91ef79a646 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -4219,7 +4219,7 @@ private: if (m_pStringReplace != nullptr) { set_label(pButton, (*m_pStringReplace)(get_label(pButton))); } - if (gtk_button_get_use_underline(pButton)) + if (gtk_button_get_use_underline(pButton) && !gtk_button_get_use_stock(pButton)) m_aMnemonicButtons.push_back(pButton); } else if (GTK_IS_LABEL(pWidget)) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits