summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk2/kgtk2.c4
-rw-r--r--qt3/kqt3.cpp2
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);
}