summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Widl <bernhard.widl@cib.de>2017-09-15 17:16:29 +0200
committerCaolán McNamara <caolanm@redhat.com>2017-09-16 18:11:32 +0200
commitad7bc2f7bbf8497ec83c65719ac0d65459293480 (patch)
treef09cc5334b7b28125476e6837549c0191cfe86d3
parent33a6eb3df861009d0fe9ffee344ef00cd2906520 (diff)
tdf#79877 add button text for 'previous' button (gtk-media-previous)
Change-Id: I605849cd753ed3f33b8dec5921488730dc9682dd Reviewed-on: https://gerrit.libreoffice.org/42332 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/inc/strings.hrc1
-rw-r--r--vcl/source/window/builder.cxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/strings.hrc b/vcl/inc/strings.hrc
index cd2f31c1da13..c06bc06d7793 100644
--- a/vcl/inc/strings.hrc
+++ b/vcl/inc/strings.hrc
@@ -70,6 +70,7 @@
#define SV_BUTTONTEXT_UNDO NC_("SV_BUTTONTEXT_UNDO", "~Undo")
#define SV_BUTTONTEXT_PASTE NC_("SV_BUTTONTEXT_PASTE", "~Paste")
#define SV_BUTTONTEXT_NEXT NC_("SV_BUTTONTEXT_NEXT", "~Next")
+#define SV_BUTTONTEXT_PREV NC_("SV_BUTTONTEXT_PREV", "~Previous")
#define SV_BUTTONTEXT_GO_UP NC_("SV_BUTTONTEXT_GO_UP", "~Up")
#define SV_BUTTONTEXT_GO_DOWN NC_("SV_BUTTONTEXT_GO_DOWN", "Do~wn")
#define SV_BUTTONTEXT_CLEAR NC_("SV_BUTTONTEXT_CLEAR", "~Clear")
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index d9501548a843..0ca4e710b75a 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -632,6 +632,8 @@ namespace
return VclResId(SV_BUTTONTEXT_PASTE);
else if (rType == "gtk-media-next")
return VclResId(SV_BUTTONTEXT_NEXT);
+ else if (rType == "gtk-media-previous")
+ return VclResId(SV_BUTTONTEXT_PREV);
else if (rType == "gtk-go-up")
return VclResId(SV_BUTTONTEXT_GO_UP);
else if (rType == "gtk-go-down")