From c420730dd5189d6db0b625ae54766d7425b2abc5 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sun, 25 May 2008 20:03:28 +0000 Subject: [PATCH] when a new containment is set the running applets list needs to be rebuilt. this makes such list to actually work again svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812600 --- appletbrowser.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appletbrowser.cpp b/appletbrowser.cpp index d226a241a..21c08451d 100644 --- a/appletbrowser.cpp +++ b/appletbrowser.cpp @@ -221,7 +221,10 @@ QString AppletBrowserWidget::application() void AppletBrowserWidget::setContainment(Plasma::Containment *containment) { - d->containment = containment; + if (d->containment != containment) { + d->containment = containment; + d->initRunningApplets(); + } } Containment *AppletBrowserWidget::containment() const