KDE/kdebase/workspace/kcontrol/energy

View: New views
1 Messages — Rating Filter:   Alert me  

KDE/kdebase/workspace/kcontrol/energy

by Bugzilla from dennis.jansen@web.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SVN commit 830352 by djansen:

Reduce spin box step size for standby/suspend/off setting from 10 minutes to 1 minute.

This should make it easier to change the values for the average user.
Some users might be frustrated by 10 minute steps and think
they can't use smaller steps otherwise. It also saves the user
from using the keyboard for changing the settings.

5 minutes might be a more practical value, but it is less intuitive
for the average user.

Entering high values is probably more rare and can be done
using the keyboard. But the limit is currently at 120 minutes anyway.

CCMAIL: montel@...
FEATURE: 166189
GUI:



 M  +3 -3      energy.cpp  


--- trunk/KDE/kdebase/workspace/kcontrol/energy/energy.cpp #830351:830352
@@ -197,7 +197,7 @@
     // Sliders
     m_pStandbySlider = new KIntNumInput(m_Standby, this);
     m_pStandbySlider->setLabel(i18n("&Standby after:"));
-    m_pStandbySlider->setRange(0, 120, 10);
+    m_pStandbySlider->setRange(0, 120, 1);
     m_pStandbySlider->setSuffix(i18n(" min"));
     m_pStandbySlider->setSpecialValueText(i18n("Disabled"));
     connect(m_pStandbySlider, SIGNAL(valueChanged(int)), SLOT(slotChangeStandby(int)));
@@ -208,7 +208,7 @@
 
     m_pSuspendSlider = new KIntNumInput(m_pStandbySlider, m_Suspend, this);
     m_pSuspendSlider->setLabel(i18n("S&uspend after:"));
-    m_pSuspendSlider->setRange(0, 120, 10);
+    m_pSuspendSlider->setRange(0, 120, 1);
     m_pSuspendSlider->setSuffix(i18n(" min"));
     m_pSuspendSlider->setSpecialValueText(i18n("Disabled"));
     connect(m_pSuspendSlider, SIGNAL(valueChanged(int)), SLOT(slotChangeSuspend(int)));
@@ -220,7 +220,7 @@
 
     m_pOffSlider = new KIntNumInput(m_pSuspendSlider, m_Off, this);
     m_pOffSlider->setLabel(i18n("&Power off after:"));
-    m_pOffSlider->setRange(0, 120, 10);
+    m_pOffSlider->setRange(0, 120, 1);
     m_pOffSlider->setSuffix(i18n(" min"));
     m_pOffSlider->setSpecialValueText(i18n("Disabled"));
     connect(m_pOffSlider, SIGNAL(valueChanged(int)), SLOT(slotChangeOff(int)));
_______________________________________________
kde-docbook mailing list
kde-docbook@...
https://mail.kde.org/mailman/listinfo/kde-docbook