Commit graph

113 commits

Author SHA1 Message Date
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
Bastien Nocera
a6128f0468 datetime: Make test-timezone link for some setups
Seems that on some setups, libtool isn't dragging in the
dependencies from the libgnome-control-center static library.
2011-02-21 19:38:05 +00:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Bastien Nocera
570c97ab26 datetime: Fix city combobox filtering
The city combo box's filter was never refiltered after setting
the original timezone, so we always got the whole list of cities.
2011-02-08 23:13:08 +00:00
Bastien Nocera
9e0d566cfb region: Fix overeager string splitting
So that Argentinian timezones show up properly again.
2011-02-08 22:33:52 +00:00
Bastien Nocera
5448188cc4 datetime: Fix crash when TZ is an alias
Using the "backward" file from tzdata (available under the public
domain), we load the aliases for real timezones, to look them up
against our database.

https://bugzilla.gnome.org/show_bug.cgi?id=641360
2011-02-04 02:35:05 +00:00
Khaled Hosny
7f78615272 Update Arabic timezones translation
Already sent to upstream Fedora translators and should appear there in
due time, but can't risk getting this embarrassing translation in the
release.
2011-02-03 17:08:00 +02:00
Christian Persch
83a437d2ff datetime: Create filenames locale-independently
Bug #641294.
2011-02-03 14:30:04 +01:00
Bastien Nocera
de278d3a85 datetime: Don't crash when g-s-d is badly installed
And require a newer gnome-settings-daemon to avoid those problems.

https://bugzilla.gnome.org/show_bug.cgi?id=641232
2011-02-02 11:43:26 +00:00
Thomas Wood
938b42c1c6 datetime: add an 'unlock' button
Add an 'unlock' button to allow users to explicitly authenticate to make
changes.
2011-01-31 15:57:06 +00:00
Matthias Clasen
ff64ff10fd datetime: Remove extra padding 2011-01-25 22:55:22 -05:00
Matthias Clasen
5bc2bbe79b Prevent the date&time panel from growing horizontally 2011-01-25 21:50:55 -05:00
Matthias Clasen
2c4bba74e0 Fix handling of multichar splitting for regions
g_strsplit_set is not the right thing to use with multibyte
characters. GRegex to the rescue. This was causing misrendering
and crashes in Chinese:
https://bugzilla.redhat.com/show_bug.cgi?id=669415

Also, we have to call bind_textdomain_codeset().
2011-01-25 20:37:01 -05:00
William Jon McCann
d69eba8c17 datetime: don't try to set timezone when initially loading model 2011-01-06 19:07:28 -05:00
William Jon McCann
15a0ad5fad datetime: make dialog instant apply 2011-01-06 18:28:07 -05:00
William Jon McCann
1d5309973d datetime: keep the time ticking while the dialog is up 2011-01-06 18:28:07 -05:00
William Jon McCann
26a45cafe8 datetime: use a switch for 24 hour time 2011-01-06 18:28:07 -05:00