diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-12-06 11:19:37 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-12-06 11:20:12 +0100 |
commit | 1d3a86cfb11b3490806444e70683a8fa1fa1487d (patch) | |
tree | 3daac118afd234d26c9c769278973b04ebd35e1b /cui | |
parent | c8a733079f6718dc908edd4af8d9befeac157e80 (diff) |
Personas: Hide the Persona UI on non-Windows.
Change-Id: I6b2c9a33cb1c2144eb42a577071ade5b44b38964
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/personalization.cxx | 12 | ||||
-rw-r--r-- | cui/uiconfig/ui/personalization_tab.ui | 2 |
2 files changed, 13 insertions, 1 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() diff --git a/cui/uiconfig/ui/personalization_tab.ui b/cui/uiconfig/ui/personalization_tab.ui index 12acf493416e..f6f11be4dd71 100644 --- a/cui/uiconfig/ui/personalization_tab.ui +++ b/cui/uiconfig/ui/personalization_tab.ui @@ -216,7 +216,7 @@ </object> </child> <child type="label"> - <object class="GtkLabel" id="label1"> + <object class="GtkLabel" id="personas_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Firefox Personas</property> |