From b4934ff8170ab39d6f984479025e2452499749f7 Mon Sep 17 00:00:00 2001 From: Yari Polla Date: Sun, 5 Mar 2023 22:02:33 +0100 Subject: [PATCH] shell/updates: sync panelsfix with layout.js --- shell/contents/updates/panelsfix.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/contents/updates/panelsfix.js b/shell/contents/updates/panelsfix.js index ab23e87e..06eb6e82 100644 --- a/shell/contents/updates/panelsfix.js +++ b/shell/contents/updates/panelsfix.js @@ -8,22 +8,22 @@ let bottomFound = false for (let i in panels()) { print(panels()[i].type) - if (panels()[i].type === "org.kde.phone.panel") { + if (panels()[i].type === "org.kde.plasma.mobile.panel") { topFound = true; - } else if (panels()[i].type === "org.kde.phone.taskpanel") { + } else if (panels()[i].type === "org.kde.plasma.mobile.taskpanel") { bottomFound = true; } } if (!topFound) { // keep widget list synced with the layout.js - let topPanel = new Panel("org.kde.phone.panel") + let topPanel = new Panel("org.kde.plasma.mobile.panel") topPanel.addWidget("org.kde.plasma.notifications"); topPanel.location = "top"; topPanel.height = 1.25 * gridUnit; } if (!bottomFound) { - let bottomPanel = new Panel("org.kde.phone.taskpanel") + let bottomPanel = new Panel("org.kde.plasma.mobile.taskpanel") bottomPanel.location = "bottom"; bottomPanel.height = 2 * gridUnit; }