sc/source/ui/miscdlgs/duplicaterecordsdlg.cxx | 2 +- sc/uiconfig/scalc/ui/duplicaterecordsdlg.ui | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-)
New commits: commit ed7d087120fa08de37f80230421173422f2dcf87 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Mar 28 17:14:02 2025 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Sat Mar 29 00:35:07 2025 +0100 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> 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..e0086b4480a5 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> @@ -214,7 +214,7 @@ </child> <child> <object class="GtkRadioButton" id="column"> - <property name="label" translatable="yes" context="duplicaterecordsdialog|column">_Columns</property> + <property name="label" translatable="yes" context="duplicaterecordsdialog|column">Colu_mns</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="receives-default">False</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>