summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-07 18:55:45 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-03-07 18:55:45 -0600
commit64998f1f766e383b6d5d0d2368c8158b49934270 (patch)
tree55eacee13a12fbdd3e1dfd8c63aa64c99a7c5361
parent6df37df7d1bfea68d6ef7730bdbaed3d9cdfe50c (diff)
downloadkiosktool-64998f1f.tar.gz
kiosktool-64998f1f.zip
Rename straggling environment variables KDE->TDE.
-rw-r--r--kiosktool/kioskrun.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kiosktool/kioskrun.cpp b/kiosktool/kioskrun.cpp
index 43c8167..79d01a6 100644
--- a/kiosktool/kioskrun.cpp
+++ b/kiosktool/kioskrun.cpp
@@ -170,9 +170,9 @@ KioskRun::applyEnvironment(KProcess *p)
p->setEnvironment("XDG_CONFIG_HOME", m_homeDir+"/.config");
p->setEnvironment("XDG_CONFIG_DIRS", m_xdgConfigDirs.join(":"));
p->setEnvironment("DCOPAUTHORITY", m_homeDir+"/.kde/DCOPserver");
- p->setEnvironment("KDE_KIOSK_NO_PROFILES", "true");
+ p->setEnvironment("TDE_KIOSK_NO_PROFILES", "true");
if (m_noRestrictions)
- p->setEnvironment("KDE_KIOSK_NO_RESTRICTIONS", "true");
+ p->setEnvironment("TDE_KIOSK_NO_RESTRICTIONS", "true");
}
bool
@@ -674,7 +674,7 @@ KioskRun::makeMutable(bool bMutable)
}
// Propagate to tdeinit
dcopRef("klauncher", "klauncher").call("setLaunchEnv",
- TQCString("KDE_KIOSK_NO_RESTRICTIONS"), TQCString(m_noRestrictions ? "true" : ""));
+ TQCString("TDE_KIOSK_NO_RESTRICTIONS"), TQCString(m_noRestrictions ? "true" : ""));
setConfigImmutable("kdeglobals", "KDE Action Restrictions", true);
}