From bd4e871a99849095bd2e6a2f152a30b7a45d5916 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 20 Aug 2011 06:06:53 +0000 Subject: Use TDE_FULL_SESSION instead of KDE_FULL_SESSION git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kgtk-qt3@1248149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- gtk2/kgtk2.c | 4 ++-- qt3/kqt3.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2/kgtk2.c b/gtk2/kgtk2.c index 0dddab5..6377d66 100644 --- a/gtk2/kgtk2.c +++ b/gtk2/kgtk2.c @@ -477,12 +477,12 @@ static gboolean kgtkInit(const char *appName) if(!initialised) { #ifdef KGTK_DEBUG - printf("KGTK::Running under KDE? %d\n", NULL!=getenv("KDE_FULL_SESSION")); + printf("KGTK::Running under KDE? %d\n", NULL!=getenv("TDE_FULL_SESSION")); #endif initialised=TRUE; kgtkAppName=getAppName(appName); - useKde=NULL!=getenv("KDE_FULL_SESSION") && connectToKDialogD(kgtkAppName); + useKde=NULL!=getenv("TDE_FULL_SESSION") && connectToKDialogD(kgtkAppName); if(useKde) { const gchar *prg=getAppName(NULL); diff --git a/qt3/kqt3.cpp b/qt3/kqt3.cpp index 7407f76..962f72a 100644 --- a/qt3/kqt3.cpp +++ b/qt3/kqt3.cpp @@ -460,7 +460,7 @@ static bool kqtInit() if(!initialised) { initialised=true; - useKde=NULL!=getenv("KDE_FULL_SESSION") && connectToKDialogD(getAppName()); + useKde=NULL!=getenv("TDE_FULL_SESSION") && connectToKDialogD(getAppName()); if(useKde) atexit(&kqtExit); } -- cgit v1.2.1