diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-14 20:09:41 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-14 20:09:41 -0500 |
commit | 07b3d083b49b4cbb248b5ba0aeba2bbdd3cc487d (patch) | |
tree | 5f80a6862e44b938c4e7f62f457d1b48f5a0195b /vcl/unx/kde/kdedata.cxx | |
parent | 007f16ef7ad40ae932df884ba04f0de71928b852 (diff) |
TDE integration
Change-Id: I6f468005c8d8d99d9251a9c4fe4629b98bc4aa5e
Diffstat (limited to 'vcl/unx/kde/kdedata.cxx')
-rw-r--r-- | vcl/unx/kde/kdedata.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/vcl/unx/kde/kdedata.cxx b/vcl/unx/kde/kdedata.cxx index d66e22719784..195915bc6e39 100644 --- a/vcl/unx/kde/kdedata.cxx +++ b/vcl/unx/kde/kdedata.cxx @@ -28,7 +28,8 @@ #define _SV_SALDATA_CXX -#include <unx/kde/kde_headers.h> + +#include <shell/kde_headers.h> #include <unistd.h> #include <fcntl.h> @@ -56,6 +57,14 @@ #include "vclpluginapi.h" +#ifdef ENABLE_TDE +#define THIS_DESKENV_NAME_CAP "TDE" +#define THIS_DESKENV_NAME_LOW "tde" +#else // ENABLE_TDE +#define THIS_DESKENV_NAME_CAP "KDE" +#define THIS_DESKENV_NAME_LOW "kde" +#endif // ENABLE_TDE + /* #i59042# override KApplications method for session management * since it will interfere badly with our own. */ @@ -123,7 +132,7 @@ void KDEXLib::Init() KAboutData *kAboutData = new KAboutData( "LibreOffice", I18N_NOOP( "LibreOffice" ), "1.1.0", - I18N_NOOP( "LibreOffice with KDE Native Widget Support." ), + I18N_NOOP( "LibreOffice with " THIS_DESKENV_NAME_CAP " Native Widget Support." ), KAboutData::License_LGPL, "(c) 2003, 2004 Novell, Inc", I18N_NOOP( "LibreOffice is an office suite.\n" ), |