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

Franklin franklin at goodhorse.idv.tw
Thu Nov 20 10:49:40 UTC 2014


The following commit has been merged in the master branch:
commit 5cab48b40acf42b7683f23edaa56de0ada20301e
Author: Franklin <franklin at goodhorse.idv.tw>
Date:   Tue Nov 4 22:46:06 2014 +0800

    Change the default panel layout

diff --git a/ezgo-kde/kde/layout.js b/ezgo-kde/kde/layout.js
index db4be70..6988ad6 100644
--- a/ezgo-kde/kde/layout.js
+++ b/ezgo-kde/kde/layout.js
@@ -5,29 +5,44 @@ if (panelIds.length == 1) {
 }
 
 panel.height = screenGeometry(panel.screen).height > 1024 ? 35 : 27
+
 launcher = panel.addWidget("simplelauncher")
 launcher.writeConfig("icon", "/usr/share/ezgo/icons/start_menu.png")
 launcher.writeConfig("format", "Name")
 launcher.writeConfig("views", "Applications,Favorites,RecentlyUsed,RunCommand,Leave")
+launcher.writeConfig("immutability", 2)
 
-panel.addWidget("org.kde.showActivityManager")
+sam = panel.addWidget("org.kde.showActivityManager")
+sam.writeConfig("immutability", 2)
 
-//firefox = panel.addWidget("icon")
-//firefox.writeConfig("Url", "file:///usr/share/applications/firefox.desktop")
+firefox = panel.addWidget("icon")
+firefox.writeConfig("Url", "file:///usr/share/applications/firefox.desktop")
+firefox.writeConfig("immutability", 2)
 
 systemsettings = panel.addWidget("icon")
 systemsettings.writeConfig("Url", "file:///usr/share/applications/kde4/systemsettings.desktop")
+systemsettings.writeConfig("immutability", 2)
 
 dolphin = panel.addWidget("icon")
 dolphin.writeConfig("Url", "file:///usr/share/applications/kde4/dolphin.desktop")
+dolphin.writeConfig("immutability", 2)
 
-showdesktop = panel.addWidget("showdesktop")
-showdesktop.globalShortcut = "Meta+D"
+trash = panel.addWidget("trash")
+trash.writeConfig("immutability", 2)
 
-panel.addWidget("tasks")
+tasks = panel.addWidget("tasks")
+tasks.writeConfig("immutability", 2)
 
 //panel.addWidget("pager")
-panel.addWidget("systemtray")
-panel.addWidget("digital-clock")
-panel.addWidget("trash")
+systemtray = panel.addWidget("systemtray")
+systemtray.writeConfig("immutability", 2)
+
+dc = panel.addWidget("digital-clock")
+dc.writeConfig("immutability", 2)
+
+showdesktop = panel.addWidget("showdesktop")
+showdesktop.globalShortcut = "Meta+D"
+showdesktop.writeConfig("immutability", 2)
+
+panel.writeConfig("immutability", 2)
 

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list