summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2021-01-08 15:10:42 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-01-14 09:25:07 +0100
commit2d69acfde50cb0e06a9a057939078fd102d371a3 (patch)
treefa6e06401d482d225b2e9f14a37a0a943de2ba45 /cui/source/dialogs
parent06322b0922972fec4b9e5f57e8dbab18ca9bd676 (diff)
Resolves tdf#139343 and tdf#139335 - Community/Enterprise flavor
* Switch CE/EE per --disable-community-flavor internally use HAVE_FEATURE_COMMUNITY_FLAVOR * Version info in about dialog shows text depending on this flavor * Start center also shows the brand image now * TDF builds use a brand image with TDF tagline in the about dialog * Brand images with just "Community" (no Edition) Change-Id: I363dd2b39df9aad951c9d79addf9bdedfc4a3495 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108980 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/about.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index 021e9e4c8856..d4e3d80de876 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -28,6 +28,7 @@
#include <unotools/resmgr.hxx> //Translate
#include <config_buildid.h> //EXTRA_BUILDID
+#include <config_features.h>
#include <dialmgr.hxx> //CuiResId
#include <i18nlangtag/languagetag.hxx>
#include <sfx2/app.hxx> //SfxApplication::loadBrandSvg
@@ -152,6 +153,11 @@ OUString AboutDialog::GetVersionString() {
#elif defined(_WIN32)
sVersion += " (x86)";
#endif
+
+#if HAVE_FEATURE_COMMUNITY_FLAVOR
+ sVersion += " / LibreOffice Community";
+#endif
+
return sVersion;
}