From 0cdfe83d45a89b0ad0908a21a3556dd5f0f578df Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 20 Aug 2011 06:06:53 +0000 Subject: [PATCH] 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 --- src/kpowersave.cpp | 6 +++--- 1 file 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()) {