diff --git a/common/build_version.cpp b/common/build_version.cpp index be085fb8f3..66c4637b9e 100644 --- a/common/build_version.cpp +++ b/common/build_version.cpp @@ -109,9 +109,14 @@ wxString GetVersionInfoData( const wxString& aTitle, bool aHtml, bool aBrief ) aMsg << "Platform: " << wxGetOsDescription() << ", " << platform.GetArchName() << ", " << platform.GetEndiannessName() << ", " - << platform.GetPortIdName() << eol; + << platform.GetPortIdName(); - aMsg << eol; +#ifdef __WXGTK__ + aMsg << ", " << wxGetenv( "XDG_SESSION_DESKTOP" ) + << ", " << wxGetenv( "XDG_SESSION_TYPE" ); +#endif + + aMsg << eol << eol; if( !aBrief ) aMsg << "Build Info:" << eol;