Commit graph

26 commits

Author SHA1 Message Date
Debarshi Ray
8afea39c60 datetime: Do not offer the 12 hr clock in locales without AM/PM
https://bugzilla.gnome.org/show_bug.cgi?id=673721
2012-11-08 12:29:44 +01: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
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
Luca Ferretti
8174d81b5d datetime: do not mark placeholder strings for translation 2011-03-16 18:21:24 +01:00
Matthias Clasen
ff64ff10fd datetime: Remove extra padding 2011-01-25 22:55:22 -05:00
William Jon McCann
15a0ad5fad datetime: make dialog instant apply 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
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
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
William Jon McCann
d51d16fddf various: use a consistent and slightly larger border width for panels 2010-11-21 19:33:34 -05: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
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
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
Thomas Wood
20a5421543 datetime: fix various memory leaks
- Add a function to free the timezone database
- Use setenv rather than putenv
- Add various missing free() calls
2010-07-16 13:53:34 +01:00
Thomas Wood
939fb9c16a datetime: add region and city comboboxes
Add region and city comboboxes to allow the user to select the timezone
without using the map.
2010-07-15 17:33:28 +01:00
Thomas Wood
a582fd4d75 datetime: remove "seconds" spin button
It is not necessary to be able to set the "seconds" of the current time.
Resetting the seconds to zero is appropriate for most users.
2010-07-07 22:45:05 +01:00
Thomas Wood
2e2b70fab0 datetime: remove default value for the location label
The location label should be blank until the current location information
is available.
2010-06-29 12:52:17 +01:00
Thomas Wood
1d60affa61 datetime: use the SettingsDaemon dbus service to set the system time
Use the org.gnome.SettingsDaemon.DateTimeMechanism interface to set the
current system time.
2010-06-28 10:58:43 +01:00
Thomas Wood
12083b85b5 datetime: set spin buttons to the current time at startup 2010-06-28 10:58:43 +01:00
Thomas Wood
2208f28618 datetime: Add names to the widgets 2010-06-28 10:58:43 +01:00
Thomas Wood
72a7d5e0a6 datetime: Simplify the UI
Remove the multiple locations feature and add current time
labels.
2010-06-28 10:56:56 +01:00
Thomas Wood
29e221e699 datetime: add a GtkBuilder file to define the user interface 2010-06-16 18:08:43 +01:00