summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-01-08 17:10:15 +0100
committerJan Holesovsky <kendy@suse.cz>2013-01-08 17:13:57 +0100
commitd8e1fed0f6f83d03a5075cfe3c0c6b10a7d4e167 (patch)
treeea1417b105153eddea1199b20fe363ba589318ea
parent43c704aa24c48cd8b20049901d3d0bad20dd801a (diff)
Personas: Hide "Background image" from the Personalization settings.
The "Bacground image" thing is 4.1 work. Change-Id: I40d67b83d7dd8490c4a8fbe4033efdd611358831
-rw-r--r--cui/source/options/personalization.cxx9
-rw-r--r--cui/uiconfig/ui/personalization_tab.ui2
2 files changed, 10 insertions, 1 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 14e071f2dd8e..10ee48b1847f 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 12acf493416e..1e5f0b5c56f8 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>