[Libreoffice-commits] core.git: vcl/inc vcl/source

Bernhard Widl bernhard.widl at cib.de
Sat Sep 16 16:11:58 UTC 2017


 vcl/inc/strings.hrc           |    1 +
 vcl/source/window/builder.cxx |    2 ++
 2 files changed, 3 insertions(+)

New commits:
commit ad7bc2f7bbf8497ec83c65719ac0d65459293480
Author: Bernhard Widl <bernhard.widl at cib.de>
Date:   Fri Sep 15 17:16:29 2017 +0200

    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 at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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")


More information about the Libreoffice-commits mailing list