~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to plasma/desktop/shell/data/layouts/org.kde.plasma-desktop.defaultPanel/contents/layout.js

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
var panel = new Panel
 
2
if (panelIds.length == 1) {
 
3
    // we are the only panel, so set the location for the user
 
4
    panel.location = 'bottom'
 
5
}
 
6
 
 
7
panel.height = screenGeometry(panel.screen).height > 1024 ? 35 : 27
 
8
panel.addWidget("launcher")
 
9
panel.addWidget("org.kde.showActivityManager")
 
10
panel.addWidget("pager")
 
11
tasks = panel.addWidget("tasks")
 
12
panel.addWidget("systemtray")
 
13
panel.addWidget("digital-clock")
 
14
 
 
15
tasks.currentConfigGroup = new Array("Launchers")
 
16
tasks.writeConfig("browser", "preferred://browser, , , ")
 
17
tasks.writeConfig("filemanager", "preferred://filemanager, , , ")