diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-20 06:06:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-20 06:06:53 +0000 |
commit | aeddaec26618462b890896c75b714b764910184d (patch) | |
tree | 48a306434ab0941c2d88419bc6c11d529793ee74 /kded/kded.cpp | |
parent | 9a8ee04e39950521153ce364181cebfa687486aa (diff) | |
download | tdelibs-aeddaec26618462b890896c75b714b764910184d.tar.gz tdelibs-aeddaec26618462b890896c75b714b764910184d.zip |
Use TDE_FULL_SESSION instead of KDE_FULL_SESSION
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1248149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kded/kded.cpp')
-rw-r--r-- | kded/kded.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kded/kded.cpp b/kded/kded.cpp index 257ab3731..1d234ac06 100644 --- a/kded/kded.cpp +++ b/kded/kded.cpp @@ -156,7 +156,7 @@ void Kded::initModules() { m_dontLoad.clear(); KConfig *config = kapp->config(); - bool kde_running = !( getenv( "KDE_FULL_SESSION" ) == NULL || getenv( "KDE_FULL_SESSION" )[ 0 ] == '\0' ); + bool kde_running = !( getenv( "TDE_FULL_SESSION" ) == NULL || getenv( "TDE_FULL_SESSION" )[ 0 ] == '\0' ); // not the same user like the one running the session (most likely we're run via sudo or something) if( getenv( "KDE_SESSION_UID" ) != NULL && uid_t( atoi( getenv( "KDE_SESSION_UID" ))) != getuid()) kde_running = false; |