Commit 0f90aa19 authored by Marco Martin's avatar Marco Martin

don't create an activity in the phone layout.js

parent 8d31e6b8
var id = currentActivity();
if (id.length < 1) { var desktopsArray = desktopsForActivty(currentActivity());
id = createActivity("Homescreen", "org.kde.phone.homescreen")
}
var desktopsArray = desktopsForActivity(id);
for (var j = 0; j < desktopsArray.length; j++) { for (var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = "org.kde.image"; desktopsArray[j].wallpaperPlugin = "org.kde.image";
//desktopsArray[j].name = "Homescreen" + (j > 0 ? " " + j : ""); //desktopsArray[j].name = "Homescreen" + (j > 0 ? " " + j : "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment