Commit graph

133 commits

Author SHA1 Message Date
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
William Jon McCann
f615a21faf datetime: fix layout and spacing to match mockups 2011-01-06 18:28:07 -05:00
Florian Müllner
d1bac479ef datetime: Use header capitalization in name
Conjunctions like 'and' should not be capitalized.
2010-12-21 12:39:40 +01:00
Bastien Nocera
3d9f470da2 datetime: Fix distcheck with parallel build 2010-12-16 18:37:59 +00:00
Bastien Nocera
a5187c3a63 datetime: Fix timezone splitting
Correct the C-version of the UTF-8 characters, so that we don't
split on spaces as happened with the Italian translations.

Also make sure we remove underscores in both the city and the region
parts of the timezone name.

https://bugzilla.gnome.org/show_bug.cgi?id=636931
2010-12-10 11:44:55 +00:00
Bastien Nocera
de270ce6b4 datetime: Add "Network Time" switch
And disable the date/time switches when turning NTP on/off.
2010-12-09 17:40:18 +00:00
Bastien Nocera
189766a634 datetime: Translate timezone names
Both Cities and Regions need to be translated. Also make sure that
we sort them properly, and use symbolic names for COLUMNS in the
region liststore.

https://bugzilla.gnome.org/show_bug.cgi?id=630264
2010-12-09 16:29:56 +00:00
Bastien Nocera
91bf1c6241 datetime: One step closer to mockups
Push the 12/24 hour switch at the bottom. remove date labels,
put the date setting widgets side-by-side.
2010-12-09 14:28:13 +00:00
Bastien Nocera
9ee79e2215 datetime: Add "using NTP" helpers 2010-12-09 14:28:13 +00:00
Bastien Nocera
6e71955717 datetime: We shouldn't have to know where TZ files live
That's a job for the backend to sort out.
2010-12-08 14:32:07 +00:00
Bastien Nocera
dc9f8114dc datetime: Implement 12h time setting
So AM/PM are shown when the clock format is 12h.

Use the new GSettings schema key for the preference.

Also make sure that the day spinner always falls within the
number of days of the month available (and make the 31st selectable
for months that have that many days).
2010-12-02 18:11:27 +00:00
Bastien Nocera
6de52cfb97 datetime: Don't depend on gnome-shell for the clock format
We really don't want to depend on a module that might not be
installed for this setting. Use the one in gsettings-desktop-schemas
instead.
2010-12-02 15:37:47 +00:00
William Jon McCann
d51d16fddf various: use a consistent and slightly larger border width for panels 2010-11-21 19:33:34 -05:00
William Jon McCann
e3367c92f0 Don't assume that get_preferred_* arguments can't be NULL
Fixes a crash introduced by f5f5aac5c0
2010-11-20 13:33:19 -05:00
Bastien Nocera
032d6326d5 panels: Add keywords to all the panels we ship
https://bugzilla.gnome.org/show_bug.cgi?id=399754
2010-11-17 16:02:47 +00:00
Thomas Wood
d4cabf4998 datetime: Implement 12/24 hour preferences for the gnome-shell clock
Implement the radio buttons that change the format of the clock displayed
in gnome-shell.
2010-11-16 14:04:47 +00:00
Rodrigo Moya
b844ac1e18 datetime: Add missing libraries to libdate_time_la_LIBADD 2010-11-15 10:35:49 +01:00
Matthias Clasen
f5f5aac5c0 Prepare for size_request removal in GTK3
https://bugzilla.gnome.org/show_bug.cgi?id=633321
2010-11-08 14:07:47 +01:00
Rodrigo Moya
7ac8765b2b datetime: Link test program against common libs 2010-11-05 13:41:51 +01:00
William Jon McCann
27656667e0 Move date and universal access to system
They change the behavior or settings of the system.
2010-10-31 13:32:14 -04:00
Thomas Wood
45218a7991 datetime: Start implementing new UI designs
New UI design from Jakub Steiner and Hylke Bons
2010-10-05 10:41:45 +01:00
William Jon McCann
81065b9b74 Update for new GTK3 drawing APIs
https://bugzilla.gnome.org/show_bug.cgi?id=631051
2010-10-01 11:04:43 -04:00
Bastien Nocera
4ec7801cbb shell: Show settings without a panel in Other
Add the X-GNOME-Settings-Panel category. You need a control-center
panel to add this to your desktop file. Desktop entries with this
category but that aren't actually panels will be ignored (no cheating).

If the desktop file for your settings isn't a panel, it will show in the
"Other" section of the control-center shell

https://bugzilla.gnome.org/show_bug.cgi?id=630998
2010-09-30 13:48:29 +01:00
Bastien Nocera
24c622d55e datetime: Fix automake warning 2010-09-29 15:55:13 +01:00
Bastien Nocera
2baa0fcfd0 datetime: Add test application for missing TZ pixmaps
https://bugzilla.gnome.org/show_bug.cgi?id=630261
2010-09-29 13:28:17 +01:00
Bastien Nocera
c955a729b3 datetime: Add required includes to tz.h 2010-09-29 13:14:18 +01:00
Bastien Nocera
c1ebfb8ce9 datetime: Make map visible again 2010-09-21 14:31:31 +01:00
Bastien Nocera
7fa7ed9c8d datetime: make s/_/ / simpler
By using the same code as in the main panel code.
2010-09-21 14:05:48 +01:00
Bastien Nocera
573179ce11 datetime: Make sorting cities store faster
By sorting the filtered version, rather than the original and
then hiding items.
2010-09-21 11:55:00 +01:00
Bastien Nocera
a3b899160d datetime: Check the retval of GtkBuilder function
And don't just check the error itself.
2010-09-21 11:04:11 +01:00
Bastien Nocera
1bac073929 datetime: Fix compile-time warning 2010-09-20 18:21:03 +01:00