Kaydet (Commit) 1d3a86cf authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Personas: Hide the Persona UI on non-Windows.

Change-Id: I6b2c9a33cb1c2144eb42a577071ade5b44b38964
üst c8a73307
...@@ -106,6 +106,18 @@ SvxPersonalizationTabPage::SvxPersonalizationTabPage( Window *pParent, const Sfx ...@@ -106,6 +106,18 @@ SvxPersonalizationTabPage::SvxPersonalizationTabPage( Window *pParent, const Sfx
get( m_pSelectPersona, "select_persona" ); get( m_pSelectPersona, "select_persona" );
m_pSelectPersona->SetClickHdl( LINK( this, SvxPersonalizationTabPage, SelectPersona ) ); 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() SvxPersonalizationTabPage::~SvxPersonalizationTabPage()
......
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
</object> </object>
</child> </child>
<child type="label"> <child type="label">
<object class="GtkLabel" id="label1"> <object class="GtkLabel" id="personas_label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">Firefox Personas</property> <property name="label" translatable="yes">Firefox Personas</property>
......
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