summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-20 06:06:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-20 06:06:53 +0000
commit0cdfe83d45a89b0ad0908a21a3556dd5f0f578df (patch)
tree56698316c8713190b2849c3239235983e72911d0 /src
parent65fafc86459142678b3f616d78bd22da80479134 (diff)
downloadkpowersave-0cdfe83d45a89b0ad0908a21a3556dd5f0f578df.tar.gz
kpowersave-0cdfe83d45a89b0ad0908a21a3556dd5f0f578df.zip
Use TDE_FULL_SESSION instead of KDE_FULL_SESSION
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1248149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src')
-rw-r--r--src/kpowersave.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kpowersave.cpp b/src/kpowersave.cpp
index 1d42505..5b873cc 100644
--- a/src/kpowersave.cpp
+++ b/src/kpowersave.cpp
@@ -1262,7 +1262,7 @@ void kpowersave::_quit (){
kdDebugFuncIn(trace);
// set the KDE-Settings back to user default
- if(getenv("KDE_FULL_SESSION")) {
+ if(getenv("TDE_FULL_SESSION")) {
// first try to call the KDE method via DCOP to reset, if not fall back
if (!display->resetKDEScreensaver()) {
settings->load_kde();
@@ -1800,7 +1800,7 @@ void kpowersave::setSchemeSettings(){
}
} // TODO: check if this really work !!!
- else if(getenv("KDE_FULL_SESSION")) {
+ else if(getenv("TDE_FULL_SESSION")) {
// try to reset the complete screensaver settings. Ff this fail, use own methodes
if (!display->resetKDEScreensaver()) {
settings->load_kde();
@@ -1836,7 +1836,7 @@ void kpowersave::setSchemeSettings(){
settings->powerOffAfter);
}
}
- else if(getenv("KDE_FULL_SESSION")){
+ else if(getenv("TDE_FULL_SESSION")){
// try to reset the KDE screensaver/DPMS settings (if there are also
// no special screensaver settings) otherwise fall back and set values from files
if (!settings->specSsSettings && !display->resetKDEScreensaver()) {