GNOME Bugzilla – Bug 658011
datetime: Use GnomeWallClock instead of periodic timeout
Last modified: 2011-09-21 14:02:02 UTC
We don't actually use the ::clock property string here - this is just making it so we don't need to wake up once a second.
Created attachment 195441 [details] [review] datetime: Use GnomeWallClock instead of periodic timeout
Review of attachment 195441 [details] [review]: A little coment about gnome-desktop required version ::: configure.ac @@ +94,3 @@ gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED_VERSION) PKG_CHECK_MODULES(DATETIME_PANEL, $COMMON_MODULES dbus-glib-1 + gnome-desktop-3.0 >= 3.1.0 The gnome-desktop required version is 3.1.91
Review of attachment 195441 [details] [review]: Apart from the 2 comments below, it's fine by me, but only for master (not gnome-3-2). ::: panels/datetime/cc-datetime-panel.c @@ +36,3 @@ +#include "cc-timezone-map.h" +#include "dtm.h" +#include "date-endian.h" Any reasons you're doing headers re-ordering here? Please don't.
(In reply to comment #3) > Review of attachment 195441 [details] [review]: > > Apart from the 2 comments below, it's fine by me, but only for master (not > gnome-3-2). Okay. > ::: panels/datetime/cc-datetime-panel.c > @@ +36,3 @@ > +#include "cc-timezone-map.h" > +#include "dtm.h" > +#include "date-endian.h" > > Any reasons you're doing headers re-ordering here? Please don't. I always do: config.h header-for-this-file.h system headers (string.h) gnome headers
(In reply to comment #4) > > Any reasons you're doing headers re-ordering here? Please don't. > > I always do: > > config.h > > header-for-this-file.h > > system headers (string.h) > > gnome headers Make that a separate patch if you must.
Comment on attachment 195441 [details] [review] datetime: Use GnomeWallClock instead of periodic timeout commited with your comments on commit f708c36fc32db4b54aa2509ea7334a721fd3478a
Any chance to get this in gnome-3-2 branch? Seems to work fine and also the patch can save some battery as we dont have to wake up every minute
(In reply to comment #7) > Any chance to get this in gnome-3-2 branch? Note that we are under hardcode freeze.
(In reply to comment #7) > Any chance to get this in gnome-3-2 branch? Seems to work fine and also the > patch can save some battery as we dont have to wake up every minute Note "most" people probably don't leave the control center open, so it's not a big deal.
Definitely something for 3.4.