summaryrefslogtreecommitdiffstats
path: root/kicker/applets
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/applets')
-rw-r--r--kicker/applets/minipager/pagerapplet.cpp13
-rw-r--r--kicker/applets/minipager/pagerbutton.cpp4
2 files changed, 6 insertions, 11 deletions
diff --git a/kicker/applets/minipager/pagerapplet.cpp b/kicker/applets/minipager/pagerapplet.cpp
index 6cc000562..4bb4234a4 100644
--- a/kicker/applets/minipager/pagerapplet.cpp
+++ b/kicker/applets/minipager/pagerapplet.cpp
@@ -133,8 +133,7 @@ KMiniPager::KMiniPager(const QString& configFile, Type type, int actions,
drawButtons();
connect( m_kwin, SIGNAL( currentDesktopChanged(int)), SLOT( slotSetDesktop(int) ) );
- connect( m_kwin, SIGNAL( currentDesktopViewportChanged(int, const QPoint&)),
- SLOT(slotSetDesktopViewport(int, const QPoint&)));
+ connect( m_kwin, SIGNAL( currentDesktopViewportChanged(int, const QPoint&)), SLOT(slotSetDesktopViewport(int, const QPoint&)));
connect( m_kwin, SIGNAL( numberOfDesktopsChanged(int)), SLOT( slotSetDesktopCount(int) ) );
connect( m_kwin, SIGNAL( desktopGeometryChanged(int)), SLOT( slotRefreshViewportCount(int) ) );
connect( m_kwin, SIGNAL( activeWindowChanged(WId)), SLOT( slotActiveWindowChanged(WId) ) );
@@ -820,7 +819,7 @@ void KMiniPager::contextMenuActivated(int result)
break;
case PagerSettings::EnumBackgroundType::BgLive + bgOffset:
{
- if (m_useViewports == true) {
+// if (m_useViewports == true) {
m_settings->setBackgroundType(PagerSettings::EnumBackgroundType::BgLive);
QValueList<KMiniPagerButton*>::ConstIterator it;
QValueList<KMiniPagerButton*>::ConstIterator itEnd = m_desktops.end();
@@ -828,10 +827,10 @@ void KMiniPager::contextMenuActivated(int result)
{
(*it)->backgroundChanged();
}
- }
- else {
- m_settings->setBackgroundType(PagerSettings::EnumBackgroundType::BgTransparent);
- }
+// }
+// else {
+// m_settings->setBackgroundType(PagerSettings::EnumBackgroundType::BgTransparent);
+// }
break;
}
diff --git a/kicker/applets/minipager/pagerbutton.cpp b/kicker/applets/minipager/pagerbutton.cpp
index b4e268b8e..06bd6ab6e 100644
--- a/kicker/applets/minipager/pagerbutton.cpp
+++ b/kicker/applets/minipager/pagerbutton.cpp
@@ -249,10 +249,6 @@ void KMiniPagerButton::loadBgPixmap()
}
}
- QDataStream args( data, IO_WriteOnly );
- args << 1;
- client->send(kdesktop_name, "KBackgroundIface", "setExport(int)", data);
-
if (m_isCommon)
{
if (!s_commonSharedPixmap)