[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/containments/desktop
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-02-04 15:40:29
Message-ID: 1233762029.843883.24451.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 921150 by mart:

update the available space on every containment resize.
this should fix the bug where applets aredumped all on the top left
corner
should be sure this really makes sense before backporting :)
CCMAIL:plasma-devel@kde.org


 M  +5 -0      desktop.cpp  


--- trunk/KDE/kdebase/workspace/plasma/containments/desktop/desktop.cpp #921149:921150
@@ -97,6 +97,11 @@
         m_addPanelAction->setVisible(!locked);
     }
 
+    if (constraints & Plasma::SizeConstraint) {
+        refreshWorkingArea();
+    }
+
+    //FIXME: are refres on working are change and refresh on resize mutually exclusive?
     if (constraints & Plasma::StartupCompletedConstraint) {
         connect(corona(), SIGNAL(availableScreenRegionChanged()),
                 this, SLOT(refreshWorkingArea()));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic