mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +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": {
|
"KPlugin": {
|
||||||
"Authors": [
|
"Authors": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"KPackageStructure": "Plasma/Applet",
|
||||||
"KPlugin": {
|
"KPlugin": {
|
||||||
"Authors": [
|
"Authors": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -17,15 +17,11 @@ for (var j = 0; j < desktopsArray.length; j++) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// keep this list in sync with shell/contents/updates/panelsfix.js
|
// keep this list in sync with shell/contents/updates/panelsfix.js
|
||||||
// var panel = new Panel("org.kde.plasma.mobile.panel");
|
var panel = new Panel("org.kde.plasma.mobile.panel");
|
||||||
// panel.location = "top";
|
panel.location = "top";
|
||||||
// panel.addWidget("org.kde.plasma.notifications");
|
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
|
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";
|
||||||
// var bottomPanel = new Panel("org.kde.plasma.mobile.taskpanel")
|
bottomPanel.height = 2 * gridUnit;
|
||||||
// bottomPanel.location = "bottom";
|
|
||||||
// bottomPanel.height = 2 * gridUnit;
|
|
||||||
//
|
|
||||||
// console.log('script');
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue