[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/toggle-compositing
From: Martin Gräßlin <ubuntu () martin-graesslin ! com>
Date: 2009-04-18 10:23:27
Message-ID: 1240050207.802015.2713.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 955642 by graesslin:
Minor changes to constraints
M +0 -4 toggle_compositing.cpp
--- trunk/playground/base/plasma/applets/toggle-compositing/toggle_compositing.cpp #955641:955642
@@ -137,7 +137,6 @@
void ToggleCompositing::compositingToggled( bool active )
{
m_state = active;
- m_icon->setSvg( "widgets/onoff_switch", m_state?"on":"off" );
updateIcon();
}
@@ -179,9 +178,6 @@
void ToggleCompositing::constraintsEvent(Plasma::Constraints constraints)
{
setBackgroundHints(Plasma::Applet::NoBackground);
-// if (constraints & Plasma::SizeConstraint)
-// m_btn->resize(geometry().size());
- // TODO: constraint handling
updateIcon();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic