mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
panels: Fix loading
This commit is contained in:
parent
94baafee6e
commit
8b700ab86f
3 changed files with 10 additions and 12 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"KPackageStructure": "Plasma/Applet",
|
||||
"KPlugin": {
|
||||
"Authors": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"KPackageStructure": "Plasma/Applet",
|
||||
"KPlugin": {
|
||||
"Authors": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,15 +17,11 @@ for (var j = 0; j < desktopsArray.length; j++) {
|
|||
}
|
||||
|
||||
// keep this list in sync with shell/contents/updates/panelsfix.js
|
||||
// var panel = new Panel("org.kde.plasma.mobile.panel");
|
||||
// panel.location = "top";
|
||||
// panel.addWidget("org.kde.plasma.notifications");
|
||||
// panel.height = 1.25 * gridUnit; // HACK: supposed to be gridUnit + smallSpacing, but it doesn't seem to give the correct number
|
||||
//
|
||||
// console.log('script');
|
||||
//
|
||||
// var bottomPanel = new Panel("org.kde.plasma.mobile.taskpanel")
|
||||
// bottomPanel.location = "bottom";
|
||||
// bottomPanel.height = 2 * gridUnit;
|
||||
//
|
||||
// console.log('script');
|
||||
var panel = new Panel("org.kde.plasma.mobile.panel");
|
||||
panel.location = "top";
|
||||
panel.addWidget("org.kde.plasma.notifications");
|
||||
panel.height = 1.25 * gridUnit; // HACK: supposed to be gridUnit + smallSpacing, but it doesn't seem to give the correct number
|
||||
|
||||
var bottomPanel = new Panel("org.kde.plasma.mobile.taskpanel")
|
||||
bottomPanel.location = "bottom";
|
||||
bottomPanel.height = 2 * gridUnit;
|
||||
|
|
|
|||
Loading…
Reference in a new issue