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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/desktop/shell
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-12-15 23:39:13
Message-ID: 20101215233913.C7FB8AC8A8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1206811 by aseigo:

let the panels fend for themselves rather than have this unintuitively in PlasmaApp


 M  +0 -10     plasmaapp.cpp  
 M  +0 -1      plasmaapp.h  


--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/plasmaapp.cpp #1206810:1206811
@@ -294,7 +294,6 @@
     // intialize the default theme and set the font
     Plasma::Theme *theme = Plasma::Theme::defaultTheme();
     theme->setFont(AppSettings::desktopFont());
-    connect(theme, SIGNAL(themeChanged()), this, SLOT(compositingChanged()));
 
     // this line initializes the corona.
     corona();
@@ -544,16 +543,7 @@
     }
 }
 
-void PlasmaApp::compositingChanged()
-{
 #ifdef Q_WS_X11
-    foreach (PanelView *panel, m_panels) {
-        panel->recreateUnhideTrigger();
-    }
-#endif
-}
-
-#ifdef Q_WS_X11
 PanelView *PlasmaApp::findPanelForTrigger(WId trigger) const
 {
     foreach (PanelView *panel, m_panels) {
--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/plasmaapp.h #1206810:1206811
@@ -145,7 +145,6 @@
     void panelRemoved(QObject* panel);
     void screenRemoved(int id);
     void screenAdded(Kephal::Screen *screen);
-    void compositingChanged();
     void configureContainment(Plasma::Containment*);
     void checkVirtualDesktopViews(int numDesktops);
     void setWmClass(WId id);
[prev in list] [next in list] [prev in thread] [next in thread] 

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