sc/source/ui/miscdlgs/duplicaterecordsdlg.cxx | 2 +- sc/uiconfig/scalc/ui/duplicaterecordsdlg.ui | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-)
New commits: commit cf9aebd0c608e4f672f1811adb27f71bc9275a83 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Mar 28 17:14:02 2025 +0100 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Thu Apr 10 14:19:56 2025 +0200 related tdf#85976: unify ok/cancel/help buttons in the dialog Same as the rest of dialogs Change-Id: I0213581d5f69ecee829af622af95773defd6811e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183460 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Reviewed-by: Sahil Gautam <sahil.gautam.ext...@allotropia.de> (cherry picked from commit ed7d087120fa08de37f80230421173422f2dcf87) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183475 Tested-by: Sahil Gautam <sahil.gautam.ext...@allotropia.de> Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> diff --git a/sc/source/ui/miscdlgs/duplicaterecordsdlg.cxx b/sc/source/ui/miscdlgs/duplicaterecordsdlg.cxx index f3376ae17ec7..c9881b209973 100644 --- a/sc/source/ui/miscdlgs/duplicaterecordsdlg.cxx +++ b/sc/source/ui/miscdlgs/duplicaterecordsdlg.cxx @@ -40,7 +40,7 @@ ScDuplicateRecordsDlg::ScDuplicateRecordsDlg(weld::Window* pParent, , m_xRadioRemove(m_xBuilder->weld_radio_button("remove")) , m_xCheckList(m_xBuilder->weld_tree_view("checklist")) , m_xAllChkBtn(m_xBuilder->weld_check_button("allcheckbtn")) - , m_xOkBtn(m_xBuilder->weld_button("okbtn")) + , m_xOkBtn(m_xBuilder->weld_button("ok")) , mrCellData(rData) , mrRange(rRange) , mrViewData(rViewData) diff --git a/sc/uiconfig/scalc/ui/duplicaterecordsdlg.ui b/sc/uiconfig/scalc/ui/duplicaterecordsdlg.ui index 0c3406095a1b..6c0459fc665f 100644 --- a/sc/uiconfig/scalc/ui/duplicaterecordsdlg.ui +++ b/sc/uiconfig/scalc/ui/duplicaterecordsdlg.ui @@ -33,8 +33,8 @@ <property name="hexpand">True</property> <property name="layout-style">end</property> <child> - <object class="GtkButton" id="helpbutton"> - <property name="label" translatable="yes" context="duplicaterecordsdialog|helpbutton">_Help</property> + <object class="GtkButton" id="help"> + <property name="label" translatable="yes" context="stock">_Help</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="receives-default">True</property> @@ -48,8 +48,8 @@ </packing> </child> <child> - <object class="GtkButton" id="okbtn"> - <property name="label" translatable="yes" context="duplicaterecordsdialog|okbtn">_OK</property> + <object class="GtkButton" id="ok"> + <property name="label" translatable="yes" context="stock">_OK</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="receives-default">True</property> @@ -62,8 +62,8 @@ </packing> </child> <child> - <object class="GtkButton" id="cancelbtn"> - <property name="label" translatable="yes" context="duplicaterecordsdialog|cancelbtn">Ca_ncel</property> + <object class="GtkButton" id="cancel"> + <property name="label" translatable="yes" context="stock">_Cancel</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="receives-default">True</property> @@ -338,9 +338,9 @@ </object> </child> <action-widgets> - <action-widget response="-11">helpbutton</action-widget> - <action-widget response="-5">okbtn</action-widget> - <action-widget response="-6">cancelbtn</action-widget> + <action-widget response="-11">help</action-widget> + <action-widget response="-5">ok</action-widget> + <action-widget response="-6">cancel</action-widget> </action-widgets> </object> </interface>