diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-10-13 15:52:32 -0400 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-10-19 08:44:05 +0000 |
commit | 6b5b773488a4ab77b5c18d82e663e68692f14b33 (patch) | |
tree | 174290664e659afdb4d50e2cb3f55dbeeb345464 /vcl | |
parent | 1690b84015b7fa882076d6fb7d79e1959e467544 (diff) |
tdf#103185 - Add VCL backend being used to About dialog
The VCL backend is now shown on the About dialog.
Change-Id: Ib4e6b33e9c2b3ec2fca229fed8f4533227a67ac6
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>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/svids.hrc | 1 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 7 | ||||
-rw-r--r-- | vcl/source/src/app.src | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/vcl/inc/svids.hrc b/vcl/inc/svids.hrc index efb34907e320..891fe5768ce6 100644 --- a/vcl/inc/svids.hrc +++ b/vcl/inc/svids.hrc @@ -179,6 +179,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 33e6fe8129a6..61e00724f528 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1211,6 +1211,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: */ |