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:
parent
96963520da
commit
6b9379a938
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user