|
|
@ -118,10 +118,13 @@ AutoStart::loadAutoStartList()
|
|
|
|
TQStringList kdefiles = TDEGlobal::dirs()->findAllResources("autostart", "*.desktop", false, true);
|
|
|
|
TQStringList kdefiles = TDEGlobal::dirs()->findAllResources("autostart", "*.desktop", false, true);
|
|
|
|
files += kdefiles;
|
|
|
|
files += kdefiles;
|
|
|
|
|
|
|
|
|
|
|
|
for(TQStringList::ConstIterator it = files.begin();
|
|
|
|
for(TQStringList::ConstIterator it = files.begin(); it != files.end(); ++it)
|
|
|
|
it != files.end();
|
|
|
|
|
|
|
|
++it)
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
// Explicitly skip autostart files from KDE
|
|
|
|
|
|
|
|
if ((*it).contains("org.kde") || (*it).startsWith("/etc/kde/xdg/autostart"))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
KDesktopFile config(*it, true);
|
|
|
|
KDesktopFile config(*it, true);
|
|
|
|
if (config.hasKey("X-TDE-autostart-condition")) {
|
|
|
|
if (config.hasKey("X-TDE-autostart-condition")) {
|
|
|
|
if (!startCondition(config.readEntry("X-TDE-autostart-condition")))
|
|
|
|
if (!startCondition(config.readEntry("X-TDE-autostart-condition")))
|
|
|
|