summaryrefslogtreecommitdiff
path: root/sw/uiconfig
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-05 20:41:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-07 20:16:02 +0100
commit80f3c0ce51a7f94b127fe7c4dd4dd1d87ce694d6 (patch)
tree27c661a48176ecfe5e95bbbb279e5565cab27adb /sw/uiconfig
parent0701aca589b819b845d08ea60263ad89718cfd7f (diff)
replace deprecated stock labels used <= twice
replace single use of deprecated gtk-paste replace single use of deprecated gtk-play replace single use of deprecated gtk-stop replace only two uses of deprecated gtk-clear replace only two uses of deprecated gtk-find replace only two uses of deprecated gtk-media-next replace only two uses of deprecated gtk-media-previous Change-Id: Ia749c03ad5887f7919b1d0dc2facf8ae7e5fb7a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108820 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r--sw/uiconfig/swriter/ui/dropdownfielddialog.ui8
-rw-r--r--sw/uiconfig/swriter/ui/findentrydialog.ui4
-rw-r--r--sw/uiconfig/swriter/ui/inputfielddialog.ui8
-rw-r--r--sw/uiconfig/swriter/ui/managechangessidebar.ui4
-rw-r--r--sw/uiconfig/swriter/ui/testmailsettings.ui4
5 files changed, 14 insertions, 14 deletions
diff --git a/sw/uiconfig/swriter/ui/dropdownfielddialog.ui b/sw/uiconfig/swriter/ui/dropdownfielddialog.ui
index 812fa505dd11..5a6845053315 100644
--- a/sw/uiconfig/swriter/ui/dropdownfielddialog.ui
+++ b/sw/uiconfig/swriter/ui/dropdownfielddialog.ui
@@ -37,10 +37,10 @@
<property name="column_homogeneous">True</property>
<child>
<object class="GtkButton" id="prev">
- <property name="label">gtk-media-previous</property>
+ <property name="label" translatable="yes" context="dropdownfielddialog|prev">_Previous</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
<property name="image_position">right</property>
</object>
<packing>
@@ -50,10 +50,10 @@
</child>
<child>
<object class="GtkButton" id="next">
- <property name="label">gtk-media-next</property>
+ <property name="label" translatable="yes" context="dropdownfielddialog|next">_Next</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="next-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="dropdownfielddialog|extended_tip|next">Closes the current Input list and displays the next, if available.</property>
diff --git a/sw/uiconfig/swriter/ui/findentrydialog.ui b/sw/uiconfig/swriter/ui/findentrydialog.ui
index b1bd4529ec97..5c3d655f2812 100644
--- a/sw/uiconfig/swriter/ui/findentrydialog.ui
+++ b/sw/uiconfig/swriter/ui/findentrydialog.ui
@@ -21,13 +21,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="find">
- <property name="label">gtk-find</property>
+ <property name="label" translatable="yes" context="findentrydialog|find">_Find</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="find-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="findentrydialog|extended_tip|find">Displays the next record that contains the search text.</property>
diff --git a/sw/uiconfig/swriter/ui/inputfielddialog.ui b/sw/uiconfig/swriter/ui/inputfielddialog.ui
index 1d75c4b2673b..6238c9754fcd 100644
--- a/sw/uiconfig/swriter/ui/inputfielddialog.ui
+++ b/sw/uiconfig/swriter/ui/inputfielddialog.ui
@@ -28,11 +28,11 @@
<property name="column_homogeneous">True</property>
<child>
<object class="GtkButton" id="prev">
- <property name="label">gtk-media-previous</property>
+ <property name="label" translatable="yes" context="inputfielddialog|next">_Previous</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
<property name="image_position">right</property>
</object>
<packing>
@@ -42,11 +42,11 @@
</child>
<child>
<object class="GtkButton" id="next">
- <property name="label">gtk-media-next</property>
+ <property name="label" translatable="yes" context="inputfielddialog|next">_Next</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="next-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="inputfielddialog|extended_tip|next">Jumps to the next input field in the document.</property>
diff --git a/sw/uiconfig/swriter/ui/managechangessidebar.ui b/sw/uiconfig/swriter/ui/managechangessidebar.ui
index 2814f603be89..bdb99548668d 100644
--- a/sw/uiconfig/swriter/ui/managechangessidebar.ui
+++ b/sw/uiconfig/swriter/ui/managechangessidebar.ui
@@ -112,12 +112,12 @@
</child>
<child>
<object class="GtkButton" id="undo">
- <property name="label">gtk-undo</property>
+ <property name="label" translatable="yes" context="managechangessidebar|undo">_Undo</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="left_attach">1</property>
diff --git a/sw/uiconfig/swriter/ui/testmailsettings.ui b/sw/uiconfig/swriter/ui/testmailsettings.ui
index 222446879837..9b94de0a9a96 100644
--- a/sw/uiconfig/swriter/ui/testmailsettings.ui
+++ b/sw/uiconfig/swriter/ui/testmailsettings.ui
@@ -21,13 +21,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="stop">
- <property name="label">gtk-stop</property>
+ <property name="label" translatable="yes" context="testmailsettings|stop">_Stop</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="stop-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="extended_tip|stop">Click the Stop button to stop a test session manually.</property>