From bd319954e82da64d1ca037df2f32982af6ddb0e2 Mon Sep 17 00:00:00 2001 From: Heiko Tietze Date: Fri, 8 Jan 2021 15:10:42 +0100 Subject: 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 Reviewed-by: Miklos Vajna (cherry picked from commit 2d69acfde50cb0e06a9a057939078fd102d371a3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109274 Tested-by: Xisco Fauli Reviewed-by: Christian Lohmaier --- cui/source/dialogs/about.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cui/source/dialogs') 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 //Translate #include //EXTRA_BUILDID +#include #include //CuiResId #include #include //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; } -- cgit