diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 12:18:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 13:38:50 +0100 |
commit | 780887431209af99743f1bece265118dfb340988 (patch) | |
tree | e09442165bb0bb3e1a09d393910bb3c74e322703 /vcl | |
parent | concentrate all config into one place (diff) | |
download | core-780887431209af99743f1bece265118dfb340988.tar.gz core-780887431209af99743f1bece265118dfb340988.zip |
convert find entry dialog to .ui
Change-Id: I0d8ef363e45f9032676a161c63d7cf9bcbe417fd
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 0a59f802ee3e..b9c2d748aef1 100644 --- a/vcl/inc/svids.hrc +++ b/vcl/inc/svids.hrc @@ -166,6 +166,7 @@ #define SV_BUTTONTEXT_CLEAR 10126 #define SV_BUTTONTEXT_OPEN 10127 #define SV_BUTTONTEXT_PLAY 10128 +#define SV_BUTTONTEXT_FIND 10129 #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 e4f4d94a60f3..d348de104142 100644 --- a/vcl/source/src/btntext.src +++ b/vcl/source/src/btntext.src @@ -171,4 +171,9 @@ String SV_BUTTONTEXT_PLAY Text [ en-US ] = "~Play" ; }; +String SV_BUTTONTEXT_FIND +{ + Text [ en-US ] = "~Find" ; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 99e0b85c3c7a..1baf1c04135b 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -639,6 +639,8 @@ namespace return (VclResId(SV_BUTTONTEXT_CLEAR).toString()); else if (rType == "gtk-media-play") return (VclResId(SV_BUTTONTEXT_PLAY).toString()); + else if (rType == "gtk-find") + return (VclResId(SV_BUTTONTEXT_FIND).toString()); SAL_WARN("vcl.layout", "unknown stock type: " << rType.getStr()); return OUString(); } |