summaryrefslogtreecommitdiff
path: root/plasma-desktop/updates
diff options
context:
space:
mode:
Diffstat (limited to 'plasma-desktop/updates')
-rw-r--r--plasma-desktop/updates/01-kanotix-default-setup.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/plasma-desktop/updates/01-kanotix-default-setup.js b/plasma-desktop/updates/01-kanotix-default-setup.js
index de6e691..eaec917 100644
--- a/plasma-desktop/updates/01-kanotix-default-setup.js
+++ b/plasma-desktop/updates/01-kanotix-default-setup.js
@@ -5,8 +5,10 @@ if (locked) {
locked = false
}
-p = panelById(panelIds[0]);
-if (typeof p === "panel") {
+// remove all panels from desktop
+pIds = panelIds;
+for (i = 0; i < pIds.length; ++i) {
+ p = panelById(pIds[i]);
p.remove();
}