cui/source/options/personalization.cxx | 9 +++++++++ cui/uiconfig/ui/personalization_tab.ui | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-)
New commits: commit d8e1fed0f6f83d03a5075cfe3c0c6b10a7d4e167 Author: Jan Holesovsky <ke...@suse.cz> Date: Tue Jan 8 17:10:15 2013 +0100 Personas: Hide "Background image" from the Personalization settings. The "Bacground image" thing is 4.1 work. Change-Id: I40d67b83d7dd8490c4a8fbe4033efdd611358831 diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index 14e071f..10ee48b 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -105,6 +105,15 @@ SvxPersonalizationTabPage::SvxPersonalizationTabPage( Window *pParent, const Sfx get( m_pSelectBackground, "select_background" ); m_pSelectBackground->SetClickHdl( LINK( this, SvxPersonalizationTabPage, SelectBackground ) ); + // HACK for 4.0 - Background image not implemented + Window *pWindow; + get( pWindow, "background_label" ); + pWindow->Hide(); + m_pNoBackground->Hide(); + m_pDefaultBackground->Hide(); + m_pOwnBackground->Hide(); + m_pSelectBackground->Hide(); + // persona get( m_pNoPersona, "no_persona" ); get( m_pDefaultPersona, "default_persona" ); diff --git a/cui/uiconfig/ui/personalization_tab.ui b/cui/uiconfig/ui/personalization_tab.ui index 12acf49..1e5f0b5 100644 --- a/cui/uiconfig/ui/personalization_tab.ui +++ b/cui/uiconfig/ui/personalization_tab.ui @@ -102,7 +102,7 @@ </object> </child> <child type="label"> - <object class="GtkLabel" id="label2"> + <object class="GtkLabel" id="background_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Background Image</property> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits