diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-17 09:04:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-17 09:04:41 +0100 |
commit | dbf2273e45c8b134b1470ee6173ca260e2545fed (patch) | |
tree | 915cd1d5950ad2795de17d2bb2f0c8dd5f7be4e1 /vcl | |
parent | convert sw/source/core/inc/SwPortionHandler.hxx from String to OUString (diff) | |
download | core-dbf2273e45c8b134b1470ee6173ca260e2545fed.tar.gz core-dbf2273e45c8b134b1470ee6173ca260e2545fed.zip |
support gtk-stop generic label
Change-Id: I1f17459dc57a1377c5c48412fcc81989cc69fccd
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/svids.hrc | 1 | ||||
-rw-r--r-- | vcl/source/src/btntext.src | 5 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/vcl/inc/svids.hrc b/vcl/inc/svids.hrc index b9c2d748aef1..a788f4a59f3f 100644 --- a/vcl/inc/svids.hrc +++ b/vcl/inc/svids.hrc @@ -167,6 +167,7 @@ #define SV_BUTTONTEXT_OPEN 10127 #define SV_BUTTONTEXT_PLAY 10128 #define SV_BUTTONTEXT_FIND 10129 +#define SV_BUTTONTEXT_STOP 10130 #define SV_STDTEXT_FIRST SV_STDTEXT_SERVICENOTAVAILABLE #define SV_STDTEXT_SERVICENOTAVAILABLE 10210 diff --git a/vcl/source/src/btntext.src b/vcl/source/src/btntext.src index d348de104142..43abeb999a7a 100644 --- a/vcl/source/src/btntext.src +++ b/vcl/source/src/btntext.src @@ -176,4 +176,9 @@ String SV_BUTTONTEXT_FIND Text [ en-US ] = "~Find" ; }; +String SV_BUTTONTEXT_STOP +{ + Text [ en-US ] = "~Stop" ; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 77762b50e68b..4f049fb737e7 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -641,6 +641,8 @@ namespace return (VclResId(SV_BUTTONTEXT_PLAY).toString()); else if (rType == "gtk-find") return (VclResId(SV_BUTTONTEXT_FIND).toString()); + else if (rType == "gtk-stop") + return (VclResId(SV_BUTTONTEXT_STOP).toString()); SAL_WARN("vcl.layout", "unknown stock type: " << rType.getStr()); return OUString(); } |