diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-01-13 23:00:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-14 16:55:44 +0100 |
commit | 6a80183743d71b1a03a67e6dc4657dea6d56e6fe (patch) | |
tree | 8de83cc95198cc4e39d28884767ed020bd2977b7 /sw | |
parent | a33469518f840ccf55913ab8c5c88e5e82fbf1bd (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 'sw')
-rw-r--r-- | sw/qa/uitest/writer_tests2/asianPhoneticGuide.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_tests2/asianPhoneticGuide.py b/sw/qa/uitest/writer_tests2/asianPhoneticGuide.py index 4722541e6e66..1af2bfe94933 100644 --- a/sw/qa/uitest/writer_tests2/asianPhoneticGuide.py +++ b/sw/qa/uitest/writer_tests2/asianPhoneticGuide.py @@ -42,7 +42,7 @@ class asianPhoneticGuide(UITestCase): xApplyBtn = xDialog.getChild("ok") xApplyBtn.executeAction("CLICK", tuple()) - xCloseBtn = xDialog.getChild("cancel") + xCloseBtn = xDialog.getChild("close") self.ui_test.close_dialog_through_button(xCloseBtn) self.assertEqual(document.Text.String[0:1], "a") |