summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-01-13 23:00:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-01-14 16:55:44 +0100
commit6a80183743d71b1a03a67e6dc4657dea6d56e6fe (patch)
tree8de83cc95198cc4e39d28884767ed020bd2977b7 /svx/source
parenta33469518f840ccf55913ab8c5c88e5e82fbf1bd (diff)
Asian phonetic guide dialog uses "close" widget
and not cancel one. widget response = -7 corresponds to GTK_RESPONSE_CLOSE See https://gtk.developpez.com/doc/en/gtk/GtkDialog.html label is "gtk-close" and the variable name is "m_xClosePB" Change-Id: I6ac8e1814ff3c594498d81e99e864939b6a2c23a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109252 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/rubydialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 2c74895c0bb1..4302d4f6b41d 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -205,7 +205,7 @@ SvxRubyDialog::SvxRubyDialog(SfxBindings* pBind, SfxChildWindow* pCW, weld::Wind
, m_xCharStyleLB(m_xBuilder->weld_combo_box("stylelb"))
, m_xStylistPB(m_xBuilder->weld_button("styles"))
, m_xApplyPB(m_xBuilder->weld_button("ok"))
- , m_xClosePB(m_xBuilder->weld_button("cancel"))
+ , m_xClosePB(m_xBuilder->weld_button("close"))
, m_xContentArea(m_xDialog->weld_content_area())
, m_xGrid(m_xBuilder->weld_widget("grid"))
, m_xPreviewWin(new RubyPreview)