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

List:       kde-commits
Subject:    playground/utils/powerdevil
From:       Dario Freddi <drf54321 () gmail ! com>
Date:       2008-08-29 13:46:02
Message-ID: 1220017562.237516.26626.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 854445 by dafre:

Adding the possibility to Lock the screen when idle


 M  +3 -0      daemon/PowerDevilDaemon.cpp  
 M  +1 -0      kcmodule/ConfigWidget.cpp  


--- trunk/playground/utils/powerdevil/daemon/PowerDevilDaemon.cpp #854444:854445
@@ -477,6 +477,9 @@
         case Standby:
             standby();
             break;
+        case Lock:
+            lockScreen();
+            break;
         default:
             break;
         }
--- trunk/playground/utils/powerdevil/kcmodule/ConfigWidget.cpp #854444:854445
@@ -68,6 +68,7 @@
 {
     idleCombo->addItem(i18n("Do nothing"), (int) None);
     idleCombo->addItem(i18n("Shutdown"), (int) Shutdown);
+    idleCombo->addItem(i18n("Lock Screen"), (int) Lock);
     BatteryCriticalCombo->addItem(i18n("Do nothing"), (int) None);
     BatteryCriticalCombo->addItem(i18n("Shutdown"), (int) Shutdown);
     laptopClosedCombo->addItem(i18n("Do nothing"), (int) None);
[prev in list] [next in list] [prev in thread] [next in thread] 

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