[Blends-commit] [SCM] ezgo branch, master, updated. 4759a71e014b2f88f0a15ff9d88ec1ea29857fea

Franklin franklin at goodhorse.idv.tw
Sun Mar 27 15:00:24 UTC 2016


The following commit has been merged in the master branch:
commit 4759a71e014b2f88f0a15ff9d88ec1ea29857fea
Author: Franklin <franklin at goodhorse.idv.tw>
Date:   Sun Mar 27 23:00:05 2016 +0800

    Remove trash from activity widget and add it into panel

diff --git a/ezgo-kde5/kde/defaultPanel.layout.js b/ezgo-kde5/kde/defaultPanel.layout.js
index aa62ec6..31a887c 100644
--- a/ezgo-kde5/kde/defaultPanel.layout.js
+++ b/ezgo-kde5/kde/defaultPanel.layout.js
@@ -57,4 +57,4 @@ dolphin.writeConfig("applicationName", "檔案總管_dolphin")
 panel.addWidget("org.kde.plasma.taskmanager")
 panel.addWidget("org.kde.plasma.systemtray")
 panel.addWidget("org.kde.plasma.digitalclock")
-
+panel.addWidget("org.kde.plasma.trash")
diff --git a/ezgo-kde5/kde/desktop.layout.js b/ezgo-kde5/kde/desktop.layout.js
index 94adcea..0daeec5 100644
--- a/ezgo-kde5/kde/desktop.layout.js
+++ b/ezgo-kde5/kde/desktop.layout.js
@@ -17,10 +17,10 @@ for (var i = 0; i < screenCount; ++i) {
             //firefox.writeConfig("url", "/usr/share/ezgo/ezgo-menu/applications/firefox.desktop")
             //firefox.writeConfig("applicationName", "網頁瀏覽_firefox")
 
-            trash = a.addWidget("org.kde.plasma.trash");
-            trash.geometry = QRectF(screenGeometry(desktop.screen).width - 200,450,174,104)
-            trash.writeConfig("immutability", 1)
-            trash.writeConfig("zvalue", 0)
+            //trash = a.addWidget("org.kde.plasma.trash");
+            //trash.geometry = QRectF(screenGeometry(desktop.screen).width - 200,450,174,104)
+            //trash.writeConfig("immutability", 1)
+            //trash.writeConfig("zvalue", 0)
 
             //desktopsArray[j].wallpaperPlugin = 'org.kde.image';
             //var clock = desktopsArray[j].addWidget("org.kde.plasma.analogclock");

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list