Switch the HH:MM:SS second clock to HH:MM

less updates == less debug spew.

svn path=/trunk/; revision=11
This commit is contained in:
Owen Taylor 2008-10-31 18:12:03 +00:00
parent 96963520da
commit 6b9379a938

View File

@ -53,7 +53,7 @@ Panel.prototype = {
_startClock: function() {
let me = this;
Mainloop.timeout_add_seconds(1,
Mainloop.timeout_add_seconds(60,
function() {
me._updateClock();
return true;
@ -61,7 +61,7 @@ Panel.prototype = {
},
_updateClock: function() {
this._clock.set_text(new Date().toLocaleFormat("%H:%M:%S"));
this._clock.set_text(new Date().toLocaleFormat("%H:%M"));
this._clock.set_anchor_point_from_gravity(Clutter.Gravity.NORTH_EAST);
return true;