summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-12-06 11:19:37 +0100
committerJan Holesovsky <kendy@suse.cz>2012-12-06 11:20:12 +0100
commit1d3a86cfb11b3490806444e70683a8fa1fa1487d (patch)
tree3daac118afd234d26c9c769278973b04ebd35e1b /cui/source
parentc8a733079f6718dc908edd4af8d9befeac157e80 (diff)
Personas: Hide the Persona UI on non-Windows.
Change-Id: I6b2c9a33cb1c2144eb42a577071ade5b44b38964
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/options/personalization.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 562b7b48d16a..b33acaef8837 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -106,6 +106,18 @@ SvxPersonalizationTabPage::SvxPersonalizationTabPage( Window *pParent, const Sfx
get( m_pSelectPersona, "select_persona" );
m_pSelectPersona->SetClickHdl( LINK( this, SvxPersonalizationTabPage, SelectPersona ) );
+
+#ifndef __WIN32__
+ // so far available for Windows only
+ Window *pWindow;
+ get( pWindow, "personas_label" );
+ pWindow->Hide();
+
+ m_pNoPersona->Hide();
+ m_pDefaultPersona->Hide();
+ m_pOwnPersona->Hide();
+ m_pSelectPersona->Hide();
+#endif
}
SvxPersonalizationTabPage::~SvxPersonalizationTabPage()