[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.5/kdebase/workspace/plasma/desktop/shell
From: Marco Martin <notmart () gmail ! com>
Date: 2010-07-01 17:32:12
Message-ID: 20100701173212.A8BCFAC8E2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1145073 by mart:
backport connection to repaintNeeded
M +2 -2 panelview.cpp
--- branches/KDE/4.5/kdebase/workspace/plasma/desktop/shell/panelview.cpp #1145072:1145073
@@ -211,6 +211,7 @@
region.handle(), ShapeSet);
#endif
+ connect(m_shadow, SIGNAL(repaintNeeded()), m_panel, SLOT(checkShadow()));
m_shadow = new Plasma::FrameSvg(this);
}
@@ -365,7 +366,6 @@
this, SLOT(updatePanelGeometry()));
connect(screens, SIGNAL(screenAdded(Kephal::Screen *)),
this, SLOT(updateStruts()));
- connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(checkShadow()));
}
PanelView::~PanelView()
@@ -477,7 +477,7 @@
m_shadowWindow->adjustMargins(geometry());
m_shadowWindow->getContentsMargins(&left, &top, &right, &bottom);
m_shadowWindow->setGeometry(geometry().adjusted(-left, -top, right, bottom));
- if (m_shadowWindow->isValid()) {
+ if (m_shadowWindow->isValid() && isVisible()) {
m_shadowWindow->show();
}
} else {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic