[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/desktop/shell
From: Marco Martin <notmart () gmail ! com>
Date: 2010-01-07 20:31:10
Message-ID: 1262896270.556353.15772.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1071302 by mart:
don't block signals so the containment will be properly initialized
resize the containment to the maximum view size... suboptimal probably we will need \
to put a different dashboard for each monitor another issue is that probably \
shouldn't be possible at all to setup the containment sincethe wallpaper doesn't make \
sense and changing activity type breaks everything BUG:204371
M +7 -2 plasmaapp.cpp
--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/plasmaapp.cpp #1071301:1071302
@@ -1081,15 +1081,20 @@
Plasma::Containment *c = 0;
if (fixedDashboard) {
//avoid the containmentAdded signal being emitted
- m_corona->blockSignals(true);
c = m_corona->addContainment("desktop");
- m_corona->blockSignals(false);
m_corona->addOffscreenWidget(c);
}
+ QSize maxViewSize;
foreach (DesktopView *view, m_desktops) {
view->setDashboardContainment(c);
+ if (view->size().width() > maxViewSize.width() && view->size().height() > \
maxViewSize.height()) { + maxViewSize = view->size();
+ }
}
+ if (fixedDashboard) {
+ c->resize(maxViewSize);
+ }
}
bool PlasmaApp::fixedDashboard() const
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic