Bastien Nocera
2ab1f21723
datetime: Update current time when tz changes
...
https://bugzilla.gnome.org/show_bug.cgi?id=665137
2012-09-27 22:12:52 +02:00
William Jon McCann
0703d545a5
datetime: make the map insensitive when the panel is locked
...
https://bugzilla.gnome.org/show_bug.cgi?id=672445
2012-09-03 12:01:42 -04:00
Ray Strode
b0e7a5efa8
panels: add register macro
...
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.
This commit does that.
2012-08-21 14:32:33 -04:00
Bastien Nocera
a4475970ee
datetime: Use '&' instead of 'and'
...
Using "&" not only keeps the names shorter but would also keeps the
user focused on the other words which compose the name.
https://bugzilla.gnome.org/show_bug.cgi?id=676562
2012-06-06 17:45:15 +01:00
Florian Müllner
afe99e36fd
datetime: Add get_help_uri() implementation
...
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Bastien Nocera
bd41bd788b
datetime: Fix broken time setting on 32-bit machines
...
time_t might be a 32-bit integer, which wouldn't be big enough
to contain the number of microseconds since Epoch (since it can
only fit the number of seconds from Epoch until 2038).
https://bugzilla.redhat.com/show_bug.cgi?id=795792
2012-03-12 16:41:31 +01:00
Alexandre Rostovtsev
824b3e70bc
datetime: respect LINGUAS for timezone translations
...
https://bugzilla.gnome.org/show_bug.cgi?id=670051
2012-02-14 11:00:17 +00:00
Bastien Nocera
d70bd4b82a
datetime: Fix crashers when systemd is unavailable
...
https://bugzilla.gnome.org/show_bug.cgi?id=670016
2012-02-14 10:57:29 +00:00
Bastien Nocera
dc92ae2fe8
datetime: Don't run gdbus command twice
2012-01-23 13:52:41 +00:00
Colin Walters
c373335717
datetime: Fix srcdir != builddir
2012-01-21 11:08:00 -05:00
Tomas Bzatek
90f78394f6
datetime: Port to systemd's timedated service
...
https://bugzilla.gnome.org/show_bug.cgi?id=658352
2012-01-19 22:29:41 +00:00
Florian Müllner
4cd7b6c6dc
.desktop: Drop prefix from X-GNOME-Keywords
...
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
6665b60422
panels: Update for Shell API changes
2011-11-07 18:03:14 +00:00
Tomas Bzatek
befa8cc748
datetime: Fix showing actual clock format on panel open
...
A small regression after recent switch to radio buttons.
2011-10-07 17:51:20 +02:00
Colin Walters
f708c36fc3
datetime: Use GnomeWallClock instead of periodic timeout
...
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.
https://bugzilla.gnome.org/show_bug.cgi?id=658011
2011-09-21 00:45:41 +02:00
Bastien Nocera
76783e8e27
datetime: Use radio buttons for 24h time
...
Instead of a switch. For most locales "24h time" doesn't
really have an opposite (as those don't use AM/PM).
https://bugzilla.gnome.org/show_bug.cgi?id=640059
2011-08-26 17:01:23 +01:00
Kjartan Maraas
959ea42160
Remove old and obsolete Norwegian bokmål translation.
2011-08-22 13:21:55 +02:00
Rui Matos
11d94b271b
datetime: Restore TZ envvar as it was
...
tz_info_from_location() was changing the value of TZ, but not
restoring it when it was done checking data for it, and setting
the GMT timezone instead.
This meant that UTC time was displayed when the minute changed on
the wall clock.
https://bugzilla.gnome.org/show_bug.cgi?id=649568
2011-07-14 11:59:17 +01:00
Florian Müllner
ee73a6cf2b
datetime: Fix date sensitivity on permission changes
...
Setting the date manually should be disabled when using NTP, but
the "Network Time" setting is not taken into account when updating
sensitivities after permission changes. As a result, the date is
always editable after unlocking the panel - to fix, take the NTP
setting into account on permission changes.
https://bugzilla.gnome.org/show_bug.cgi?id=652240
2011-06-10 00:12:11 +02:00
Bastien Nocera
6af3db5994
datetime: Add mention of a few gdbus-codegen bugs
2011-05-23 16:10:04 +01:00
Bastien Nocera
a0d0a4c28f
datetime: Regenerate dtm.[ch]
...
Fixes a few compilation warnings.
2011-05-23 16:10:04 +01:00
Matthias Clasen
be35c2a834
Datetime: Don't add a lockbutton
...
Instead, implement get_permission to get a lockbutton
in the toolbar.
https://bugzilla.gnome.org/show_bug.cgi?id=650292
2011-05-23 16:10:04 +01:00
Matthias Clasen
5e05b920c4
Datetime: use a gdbus-codegen-erated wrapper
...
Instead of handrolled, copy-pasted async code for talking to
the date-time-mechanism, use gdbus-codegen to generate one
that looks nicer and is just all-around better.
2011-05-17 11:29:32 -04:00
Matthias Clasen
67d52185a8
Datetime: Improve a11y for time controls
...
By giving them an accessible description, orca reads them
somewhat meaningfully.
2011-05-15 23:19:27 -04:00
Matthias Clasen
4afbbe7265
Fix a11y/keynav issues in the datetime panel
...
Add mnemonics to all controls that have labels.
Possible further improvements: set a11y descriptions for the
unlabeled controls (the time and date controls, mostly). The map
widget is lacking keynav altogether.
Part of bug 650132
2011-05-15 15:07:16 -04:00
Bastien Nocera
b28923cc90
datetime: Use GTK+ lock button
2011-05-07 17:46:55 +01:00
Bastien Nocera
07e51912e6
datetime: Unset TZ after we're done
...
Just in case we call localtime() for something else...
2011-04-15 04:15:30 +01:00
Bastien Nocera
3746d6e2c5
datetime: Shrink the number of messages in test-tz
...
So that we avoid showing duplicates. Also don't show errors for
the Factory and posixrules timezones.
2011-04-15 02:40:21 +01:00
Bastien Nocera
3e8afd5750
datetime: Add hacks to support all the TZs
...
On a recent Linux system, so all the existing timezones
(apart from factory and posixrules) are attached to a location,
or a GMT offset.
https://bugzilla.gnome.org/show_bug.cgi?id=644782
2011-04-15 02:40:21 +01:00
Bastien Nocera
8d15af48c8
datetime: Move backward TZ DB to tz.[ch]
...
So we can add hacks in one location
2011-04-15 02:40:20 +01:00
Cosimo Cecchi
534a7a1eac
datetime: fix a critical when showing the panel
...
The critical was spawned because we were calling gtk_style_attach()
before calling gtk_widget_set_window(), but that code can go away
entirely.
https://bugzilla.gnome.org/show_bug.cgi?id=646836
2011-04-07 09:12:47 -04:00
Bastien Nocera
8390f73f4b
datetime: Fix test-endianess on OpenSUSE
...
https://bugzilla.gnome.org/show_bug.cgi?id=646780
2011-04-05 09:40:30 +01:00
Bastien Nocera
647f2a836d
datetime: Fix time editing widgets order for RTL
...
https://bugzilla.gnome.org/show_bug.cgi?id=645425
2011-03-21 21:06:29 +00:00
Alexander Larsson
7c3011c352
Fix include not found for gsettings-desktop-schemas/gdesktop-enums.h
...
pkg-config --cflags gsettings-desktop-schemas lists:
$incdir/gsettings-desktop-schemas
and that directory contains a gdesktop-enums.h file, so including
<gsettings-desktop-schemas/gdesktop-enums.h> will fail unless
the parent directory also accidentally got added as -I.
2011-03-18 15:50:05 +01:00
Luca Ferretti
8174d81b5d
datetime: do not mark placeholder strings for translation
2011-03-16 18:21:24 +01:00
Bastien Nocera
7ae3dffc8b
datetime: Disable test-timezone for now
2011-03-15 02:02:29 +00:00
Bastien Nocera
56cd9069ee
datetime: Don't crash when the timezone is unknown
...
Passing "posixrules" to cc_timezone_map_set_timezone() certainly
won't work that well.
https://bugzilla.redhat.com/show_bug.cgi?id=684593
2011-03-15 01:58:29 +00:00
Bastien Nocera
33fb810c84
datetime: Add test program for missing TZ support
...
We don't handle a number of timezones currently, including
things like "posixrules", or even "Etc/GMT".
2011-03-15 01:58:29 +00:00
Bastien Nocera
31be5be9c7
datetime: Add hacks to support more timezones
...
Such as posix/Europe/London, and the likes.
2011-03-15 01:58:29 +00:00
Bastien Nocera
cb3c0af71d
datetime: Return FALSE when we fail to find a timezone
2011-03-15 01:58:29 +00:00
Bastien Nocera
9ab02da28b
datetime: Rename test-timezone to test-timezone-gfx
2011-03-15 01:58:29 +00:00
Frédéric Péters
367f1ab790
Add missing timezone files
...
https://bugzilla.gnome.org/show_bug.cgi?id=630261
2011-03-13 07:16:24 +08:45
Bastien Nocera
639e87724e
datetime: Make 24h setting changeable without unlocking
...
https://bugzilla.gnome.org/show_bug.cgi?id=643891
2011-03-11 13:16:51 +00:00
Bastien Nocera
0d2903f1c4
datetime: Change combobox when map is clicked
...
https://bugzilla.redhat.com/show_bug.cgi?id=684072
2011-03-11 13:02:36 +00:00
Bastien Nocera
5fdc90cc8b
2.91.91
...
Fix wrong include lines, so distcheck works
2011-03-08 11:59:16 +00:00
Bastien Nocera
968b3adbe5
datetime: Add test application for date endianess
2011-03-08 07:59:22 +00:00
Bastien Nocera
2898b86e68
datetime: Implement date endianess detection
...
Implement fairly robust detection of endianess based on
the d_fmt format exported by glibc.
https://bugzilla.gnome.org/show_bug.cgi?id=636896
2011-03-08 07:59:22 +00:00
Bastien Nocera
c93e7add24
datetime: Add UI code to reorder date widgets
...
Based on the locale's date format, rather than only support
the US-centric version.
https://bugzilla.gnome.org/show_bug.cgi?id=636896
2011-03-08 07:59:21 +00:00
Kjartan Maraas
e50563f67c
datetime: Fix GCC 4.6 warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=642810
2011-03-02 18:03:35 +00:00
Bastien Nocera
3336eb9d88
lib: Add a lock button
...
Instead of using a copy/pasted version, until GTK+ includes
such a button itself.
2011-02-23 14:59:21 +00:00