~ubuntu-branches/ubuntu/raring/plasma-mobile/raring-proposed

« back to all changes in this revision

Viewing changes to config/clock-no-events.js

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-07-17 12:04:43 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120717120443-q3ig9u2fnltx67yg
Tags: 2.0+git2012071701-0ubuntu1
* New upstream snapshot
* Remove build-dep on kde-runtime-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
for (var i in panelIds) {
2
 
    var panel = panelById(panelIds[i]);
3
 
    for (var j in panel.widgetIds) {
4
 
        var widget = panel.widgetById(panel.widgetIds[j]);
5
 
        if (widget.type == "digital-clock") {
6
 
            widget.currentConfigGroup = new Array();
7
 
            widget.writeConfig('showEvents', 'false');
8
 
            widget.reloadConfig();
9
 
        }
10
 
    }
11
 
}