summaryrefslogtreecommitdiff
path: root/sw/uiconfig/swriter
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-01-14 18:27:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-01-14 21:08:55 +0100
commita9af05467ef43dd53ec1666ce35f70a439065c89 (patch)
tree09777a5c625062a4d4428e6c77578b8956b570d9 /sw/uiconfig/swriter
parent197357413a1bcd2394291072c6737ea774d7f0c6 (diff)
Replace gtk-close to gtk-cancel (sw TOC dialog)
In sw/uiconfig/swriter/ui/tocdialog.ui we got: id="cancel" <action-widget response="-6">cancel</action-widget> In sw/source/ui/index/cnttab.cxx we got: SfxTabDialogController(pParent, "modules/swriter/ui/tocdialog.ui", "TocDialog", &rSet) which contains std::unique_ptr<weld::Button> m_xCancelBtn; and finally if you change some options in the TOC dialog and click on "Close" then open again the dialog, all the changed options are reverted. => UI impact, the button is renamed "Cancel" instead of "Close" Change-Id: Ia99e7c8a10da51f258faf0833ea1931ce62364bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109301 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/uiconfig/swriter')
-rw-r--r--sw/uiconfig/swriter/ui/tocdialog.ui2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/uiconfig/swriter/ui/tocdialog.ui b/sw/uiconfig/swriter/ui/tocdialog.ui
index 9cc5485f2bd0..b60995274956 100644
--- a/sw/uiconfig/swriter/ui/tocdialog.ui
+++ b/sw/uiconfig/swriter/ui/tocdialog.ui
@@ -55,7 +55,7 @@
</child>
<child>
<object class="GtkButton" id="cancel">
- <property name="label">gtk-close</property>
+ <property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>