Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 74f1bc9fe8e1e45f4704901643b4d3a4 > files > 15

kdelibs-4.5.5-2.fc13.src.rpm

--- trunk/KDE/kdelibs/plasma/containment.cpp	2010/10/14 15:42:21	1185911
+++ trunk/KDE/kdelibs/plasma/containment.cpp	2010/10/14 15:46:05	1185912
@@ -2079,6 +2079,17 @@
     Applet::showConfigurationInterface();
 }
 
+void Containment::configChanged()
+{
+    if (d->drawWallpaper) {
+        KConfigGroup group = config();
+        setWallpaper(group.readEntry("wallpaperplugin", defaultWallpaper),
+                     group.readEntry("wallpaperpluginmode", defaultWallpaperMode));
+    }
+
+    Applet::configChanged();
+}
+
 void ContainmentPrivate::requestConfiguration()
 {
     emit q->configureRequested(q);
--- trunk/KDE/kdelibs/plasma/containment.h	2010/10/14 15:42:21	1185911
+++ trunk/KDE/kdelibs/plasma/containment.h	2010/10/14 15:46:05	1185912
@@ -527,6 +527,13 @@
          */
         void showConfigurationInterface();
 
+        /**
+         * Called when applet configuration values have changed.
+         * @reimp
+         * @sa Applet::configChanged()
+         */
+        void configChanged();
+
     protected:
         /**
          * Sets the type of this containment.