65
67
void System::setSessionVariable(const QString &variable, const QString &value)
67
69
// We need to update both upstart's and DBus's environment
75
72
QMap<QString,QString> valueMap;
76
73
valueMap.insert(variable, value);
80
84
void System::updateSessionLanguage(const QString &locale)
84
88
setSessionVariable("LANGUAGE", language);
85
89
setSessionVariable("LANG", locale);