summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-10-13 15:52:32 -0400
committerAshod Nakashian <ashnakash@gmail.com>2016-10-25 15:02:58 +0000
commitde31257b4b5c26f5a9403b22a953043d49613885 (patch)
treea93bcf5c98e58561680e9891da23653be9946d68
parent4cb70d641e06f1252da15e194f98d4aa2835d56a (diff)
tdf#103185: Add VCL backend being used to About dialog
The VCL backend is now shown on the About dialog. Reviewed-on: https://gerrit.libreoffice.org/29798 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 6b5b773488a4ab77b5c18d82e663e68692f14b33) Change-Id: I331960ec5352d8a7274870713a554c3fe4044db4 Reviewed-on: https://gerrit.libreoffice.org/30273 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r--vcl/inc/svids.hrc1
-rw-r--r--vcl/source/app/svapp.cxx7
-rw-r--r--vcl/source/src/app.src5
3 files changed, 13 insertions, 0 deletions
diff --git a/vcl/inc/svids.hrc b/vcl/inc/svids.hrc
index 04ecc9422bd2..f17a50480d4c 100644
--- a/vcl/inc/svids.hrc
+++ b/vcl/inc/svids.hrc
@@ -182,6 +182,7 @@
#define SV_APP_UIRENDER 10802
#define SV_APP_GL 10803
#define SV_APP_DEFAULT 10804
+#define SV_APP_VCLBACKEND 10805
#define SV_ICON_SIZE48_START 20000
#define SV_ICON_SIZE32_START 21000
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index a5a01a16242f..90de97f23eee 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1229,6 +1229,13 @@ OUString Application::GetHWOSConfInfo()
aDetails.append( VclResId(SV_APP_DEFAULT).toString() );
aDetails.append( "; " );
+#ifdef LINUX
+ // Only linux has different backends, so don't show blank for others.
+ aDetails.append( VclResId(SV_APP_VCLBACKEND).toString() );
+ aDetails.append( GetToolkitName() );
+ aDetails.append( "; " );
+#endif
+
return aDetails.makeStringAndClear();
}
diff --git a/vcl/source/src/app.src b/vcl/source/src/app.src
index 91d9df128c4c..b36686d99d1d 100644
--- a/vcl/source/src/app.src
+++ b/vcl/source/src/app.src
@@ -34,4 +34,9 @@ String SV_APP_DEFAULT
Text [ en-US ] = "default";
};
+String SV_APP_VCLBACKEND
+{
+ Text [ en-US ] = "VCL: ";
+};
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */