summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-22 07:16:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-22 07:16:55 +0000
commit78feb5c8dc099b79e855db97ac96d7a2c33644c6 (patch)
tree2656a368d41cfc823b4a0d45aabcd3f9cce5e57e /kcontrol/kicker
parent7d27a8d80db659efcef8f3197f43d8337890123d (diff)
downloadtdebase-78feb5c8dc099b79e855db97ac96d7a2c33644c6.tar.gz
tdebase-78feb5c8dc099b79e855db97ac96d7a2c33644c6.zip
Repair various KMenu side pixmap problems
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1178045 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kicker')
-rw-r--r--kcontrol/kicker/menutab_impl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/kcontrol/kicker/menutab_impl.cpp b/kcontrol/kicker/menutab_impl.cpp
index fa1b123e1..970aa10a1 100644
--- a/kcontrol/kicker/menutab_impl.cpp
+++ b/kcontrol/kicker/menutab_impl.cpp
@@ -233,6 +233,13 @@ void MenuTab::save()
if (kmenusetting != oldkmenusetting)
DCOPRef ("kicker", "default").call("restart()");
+ c->setGroup("KMenu");
+ bool sidepixmapsetting = kcfg_UseSidePixmap->isChecked();
+ bool oldsidepixmapsetting = c->readBoolEntry("UseSidePixmap", true);
+
+ if (sidepixmapsetting != oldsidepixmapsetting)
+ DCOPRef ("kicker", "default").call("restart()");
+
// Save KMenu settings
c->setGroup("KMenu");
c->writeEntry("CustomIcon", m_kmenu_icon);