Kaydet (Commit) f351b362 authored tarafından Khaled Hosny's avatar Khaled Hosny

Add layout engine info to the About dialog

Change-Id: I6a87efa5e1072bac3588226df0e1351aa51c4d0d
Reviewed-on: https://gerrit.libreoffice.org/30108Reviewed-by: 's avatarKhaled Hosny <khaledhosny@eglug.org>
Tested-by: 's avatarKhaled Hosny <khaledhosny@eglug.org>
üst 1c708eee
...@@ -180,6 +180,9 @@ ...@@ -180,6 +180,9 @@
#define SV_APP_GL 10803 #define SV_APP_GL 10803
#define SV_APP_DEFAULT 10804 #define SV_APP_DEFAULT 10804
#define SV_APP_VCLBACKEND 10805 #define SV_APP_VCLBACKEND 10805
#define SV_APP_LAYOUT_ENGINE 10806
#define SV_APP_LAYOUT_NEW 10807
#define SV_APP_LAYOUT_OLD 10808
#define SV_ICON_SIZE48_START 20000 #define SV_ICON_SIZE48_START 20000
#define SV_ICON_SIZE32_START 21000 #define SV_ICON_SIZE32_START 21000
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
#include "salinst.hxx" #include "salinst.hxx"
#include "salframe.hxx" #include "salframe.hxx"
#include "sallayout.hxx"
#include "salsys.hxx" #include "salsys.hxx"
#include "svdata.hxx" #include "svdata.hxx"
#include "salimestatus.hxx" #include "salimestatus.hxx"
...@@ -1218,6 +1219,13 @@ OUString Application::GetHWOSConfInfo() ...@@ -1218,6 +1219,13 @@ OUString Application::GetHWOSConfInfo()
aDetails.append( "; " ); aDetails.append( "; " );
#endif #endif
aDetails.append( VclResId(SV_APP_LAYOUT_ENGINE).toString() );
if (SalLayout::UseCommonLayout())
aDetails.append( VclResId(SV_APP_LAYOUT_NEW).toString() );
else
aDetails.append( VclResId(SV_APP_LAYOUT_OLD).toString() );
aDetails.append( "; " );
return aDetails.makeStringAndClear(); return aDetails.makeStringAndClear();
} }
......
...@@ -39,4 +39,19 @@ String SV_APP_VCLBACKEND ...@@ -39,4 +39,19 @@ String SV_APP_VCLBACKEND
Text [ en-US ] = "VCL: "; Text [ en-US ] = "VCL: ";
}; };
String SV_APP_LAYOUT_ENGINE
{
Text [ en-US ] = "Layout Engine: ";
};
String SV_APP_LAYOUT_NEW
{
Text [ en-US ] = "new";
};
String SV_APP_LAYOUT_OLD
{
Text [ en-US ] = "old";
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment