diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-05 20:35:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-06 19:54:17 +0100 |
commit | f9fb9de15fcae9051de9fdba6e0fd8921c9224ba (patch) | |
tree | 5c9e96ac4f4a76101f07bd90f5008596b81e6bea | |
parent | 29e1b77ab890280d98f234a76762d8ce544d86ff (diff) |
replace only use of deprecated gtk-connect
Change-Id: I09cdb5c109b67f3686e701468c5a814c6c184832
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108819
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sd/uiconfig/simpress/ui/remotedialog.ui | 4 | ||||
-rw-r--r-- | vcl/inc/strings.hrc | 1 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/sd/uiconfig/simpress/ui/remotedialog.ui b/sd/uiconfig/simpress/ui/remotedialog.ui index 79e55d8e58c7..df93b98dfc88 100644 --- a/sd/uiconfig/simpress/ui/remotedialog.ui +++ b/sd/uiconfig/simpress/ui/remotedialog.ui @@ -22,13 +22,13 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="ok"> - <property name="label">gtk-connect</property> + <property name="label" translatable="yes" context="remotedialog|ok">C_onnect</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> </object> <packing> <property name="expand">False</property> diff --git a/vcl/inc/strings.hrc b/vcl/inc/strings.hrc index d97ef387d9f4..152e97ab2c50 100644 --- a/vcl/inc/strings.hrc +++ b/vcl/inc/strings.hrc @@ -78,7 +78,6 @@ #define SV_BUTTONTEXT_PLAY NC_("SV_BUTTONTEXT_PLAY", "~Play") #define SV_BUTTONTEXT_FIND NC_("SV_BUTTONTEXT_FIND", "~Find") #define SV_BUTTONTEXT_STOP NC_("SV_BUTTONTEXT_STOP", "~Stop") -#define SV_BUTTONTEXT_CONNECT NC_("SV_BUTTONTEXT_CONNECT", "C~onnect") #define SV_BUTTONTEXT_SCREENSHOT NC_("SV_BUTTONTEXT_SCREENSHOT", "~Screenshot") #define SV_STDTEXT_SERVICENOTAVAILABLE NC_("SV_STDTEXT_SERVICENOTAVAILABLE", "The component (%s) could not be loaded.\nPlease start setup with the repair option.") diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index dde33eb5bc86..7834d9f9deed 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1137,8 +1137,6 @@ namespace return VclResId(SV_BUTTONTEXT_FIND); else if (rType == "gtk-stop") return VclResId(SV_BUTTONTEXT_STOP); - else if (rType == "gtk-connect") - return VclResId(SV_BUTTONTEXT_CONNECT); else if (rType == "gtk-yes") return VclResId(SV_BUTTONTEXT_YES); else if (rType == "gtk-no") |