give the proper names for kcm modules to load; not sure about the KAuthorized thing, though

svn path=/trunk/KDE/kdebase/workspace/; revision=709211
This commit is contained in:
Pino Toscano 2007-09-06 20:34:44 +00:00
parent 84c15214c5
commit f337ec8cfd

View file

@ -1115,9 +1115,9 @@ void Workspace::saveDesktopSettings()
QStringList Workspace::configModules(bool controlCenter)
{
QStringList args;
args << "kde-kwindecoration.desktop";
args << "kwindecoration";
if (controlCenter)
args << "kde-kwinoptions.desktop";
args << "kwinoptions";
else if (KAuthorized::authorizeControlModule("kde-kwinoptions.desktop"))
args << "kwinactions" << "kwinfocus" << "kwinmoving" << "kwinadvanced" << "kwinrules" << "kwincompositing" << "kwineffects";
return args;