|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|