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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/shells/screensaver
From:       Chani Armitage <chanika () gmail ! com>
Date:       2008-12-28 23:24:13
Message-ID: 1230506653.083408.4151.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 902691 by chani:

hide the active-opacity slider when there's no composite, because it's useless then
the idle one isn't hidden - it can go all the way down to 0, so it's still \
semi-useful. I wonder if this will confuse users...


 M  +3 -0      backgrounddialog.cpp  


--- trunk/KDE/kdebase/workspace/plasma/shells/screensaver/backgrounddialog.cpp \
#902690:902691 @@ -99,6 +99,9 @@
     m_activeSlider->setValue(PlasmaApp::self()->activeOpacity() * 10);
     m_idleSlider->setValue(PlasmaApp::self()->idleOpacity() * 10);
 
+    label->setVisible(PlasmaApp::hasComposite());
+    m_activeSlider->setVisible(PlasmaApp::hasComposite());
+
     // Wallpaper
     disconnect(m_wallpaperMode, SIGNAL(currentIndexChanged(int)), this, \
SLOT(changeBackgroundMode(int)));  int wallpaperIndex = 0;


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

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