Fix autostart script KCM

Review Request #124837 - Created Aug. 20, 2015 and submitted

David Edmundson

.autostart only has .desktop files
We saved our scripts there, but the code deliberately made sure they weren't loaded back because they're not executed when there.

It appears shell scripts are exectued from another location, so I've separated where shell scripts get lodaed and where .desktop files get loaded in the code, which IMHO makes it all a bit simpler.

BUG: 350135

Saved some scripts, they all appeared where they should be

debug in ksmserver shows everything being loaded properly....however shell scripts don't actually work because of another bug in ksmserver. Brilliant.

David Edmundson
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 2bbda1e23fd8cff7350260e9003e489f9b838f39 by David Edmundson to branch Plasma/5.4.