Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
8c22f48e
Commit
8c22f48e
authored
Feb 01, 2022
by
Devin Lin
🎨
Browse files
[shell/updates] Ensure upgrade process has new panel height
parent
b8d09632
Pipeline
#131792
passed with stages
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
shell/contents/updates/5_24_update.js
0 → 100644
View file @
8c22f48e
// SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org>
// SPDX-License-Identifier: GPL-2.0-or-later
/**
* Configuration updates for Plasma 5.24
* - Panel heights were changed, ensure those are updated
*/
print
(
"
Applying shell updates for 5.24...
"
)
for
(
let
i
in
panels
())
{
print
(
"
Found panel of type:
"
+
panels
()[
i
].
type
);
if
(
panels
()[
i
].
type
===
"
org.kde.phone.panel
"
)
{
panels
()[
i
].
height
=
1.25
*
gridUnit
;
}
else
if
(
panels
()[
i
].
type
===
"
org.kde.phone.taskpanel
"
)
{
panels
()[
i
].
height
=
2
*
gridUnit
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment