From 4484accf4d331a95ebf8475d6cd91950f4c27bcc Mon Sep 17 00:00:00 2001 From: Seth Chaiklin Date: Tue, 15 Dec 2020 15:37:31 +0100 Subject: tdf#138976 change "Cancel" button to "Close" in Template Manager dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3e8cbdb70f70002f1fe2b873e899f25a72463358 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107704 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- cui/qa/uitest/dialogs/chardlg.py | 2 +- cui/qa/uitest/dialogs/pastedlg.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/qa') diff --git a/cui/qa/uitest/dialogs/chardlg.py b/cui/qa/uitest/dialogs/chardlg.py index 2545d268274a..fb1c1286cbae 100644 --- a/cui/qa/uitest/dialogs/chardlg.py +++ b/cui/qa/uitest/dialogs/chardlg.py @@ -16,7 +16,7 @@ class Test(UITestCase): # Start Impress. self.ui_test.create_doc_in_start_center("impress") template = self.xUITest.getTopFocusWindow() - self.ui_test.close_dialog_through_button(template.getChild("cancel")) + self.ui_test.close_dialog_through_button(template.getChild("close")) doc = self.xUITest.getTopFocusWindow() editWin = doc.getChild("impress_win") # Select the title shape. diff --git a/cui/qa/uitest/dialogs/pastedlg.py b/cui/qa/uitest/dialogs/pastedlg.py index ccd33e02d11e..9ac40c55d2b6 100644 --- a/cui/qa/uitest/dialogs/pastedlg.py +++ b/cui/qa/uitest/dialogs/pastedlg.py @@ -16,7 +16,7 @@ class Test(UITestCase): # Copy a string in Impress. self.ui_test.create_doc_in_start_center("impress") template = self.xUITest.getTopFocusWindow() - self.ui_test.close_dialog_through_button(template.getChild("cancel")) + self.ui_test.close_dialog_through_button(template.getChild("close")) doc = self.xUITest.getTopFocusWindow() editWin = doc.getChild("impress_win") # Select the title shape. -- cgit