From 4017908018a0ccc771247f09c47798dd20644db3 Mon Sep 17 00:00:00 2001 From: Rachit Gupta Date: Fri, 27 Jun 2014 23:52:42 +0530 Subject: The Personas can be install through oxt extensions. The user can install an oxt extension and choose his/her theme from the Personalization page. * Created a template in Common.xcs registry to hold the values for the PersonasList set. * Added 3 buttons to personalization_tab.ui to incorporate the latest 3 personas installed through extensions. * Currently, only 3 installed personas are shown alongwith the default available personas. Change-Id: I30a40ae48d17f4ed8caef33854ef88afcbec5a54 --- vcl/source/app/settings.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 42787205e5fa..ebaa4eb1ebbe 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -2158,7 +2158,7 @@ static void setupPersonaHeaderFooter( WhichPersona eWhich, OUString& rHeaderFoot rtl::Bootstrap::expandMacros( gallery ); gallery += "/user/gallery/personas/"; } - else if (aPersona == "default") + else if ( aPersona == "default" && !aPersonaSettings.startsWith( "vnd.sun.star.expand" ) ) { gallery = "$BRAND_BASE_DIR/" LIBO_SHARE_FOLDER; gallery += "/gallery/personas/"; -- cgit