gnome-shell r11 - trunk/js/ui
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-shell r11 - trunk/js/ui
- Date: Fri, 31 Oct 2008 18:12:03 +0000 (UTC)
Author: otaylor
Date: Fri Oct 31 18:12:03 2008
New Revision: 11
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=11&view=rev
Log:
Switch the HH:MM:SS second clock to HH:MM
less updates == less debug spew.
Modified:
trunk/js/ui/panel.js
Modified: trunk/js/ui/panel.js
==============================================================================
--- trunk/js/ui/panel.js (original)
+++ trunk/js/ui/panel.js Fri Oct 31 18:12:03 2008
@@ -53,7 +53,7 @@
_startClock: function() {
let me = this;
- Mainloop.timeout_add_seconds(1,
+ Mainloop.timeout_add_seconds(60,
function() {
me._updateClock();
return true;
@@ -61,7 +61,7 @@
},
_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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]