Commit graph

46 commits

Author SHA1 Message Date
Jiro Matsuzawa
7b9a76c609 datetime: Fix mnemonic conflict
https://bugzilla.gnome.org/show_bug.cgi?id=736606
2016-01-18 15:50:20 +01:00
Bastien Nocera
f7467d2175 datetime: Make it possible to focus the time spin buttons
https://bugzilla.gnome.org/show_bug.cgi?id=752609
2015-07-20 12:08:59 +02:00
Bastien Nocera
6279dcd0a6 datetime: Respect the date endianess
When the user changes the date, order the widgets in the same order as
how the date is printed in that locale.

https://bugzilla.gnome.org/show_bug.cgi?id=750799
2015-06-30 15:00:07 +02:00
Yosef Or Boczko
576acc1602 datetime: Use header bar in the datetime and the timezone dialogs
The seatch entry in the timezone dialog is moved to the
title of the header bar.

https://bugzilla.gnome.org/show_bug.cgi?id=724299
2014-04-28 17:29:17 +03:00
Kalev Lember
c3ab9b28b5 datetime: Fix the width of hour and minute spinbuttons
Since gtk+ commit cf4a41a856b56bcab6edaaf0e0a4f17ed5853525, the hour and
minute spin buttons in the datetime dialog grew too wide. gtk+ now
computes separate natural and minumum width; unfortunately the natural
width is too wide for us.

Force the spin buttons to have max width of 2 characters to fix this.
2014-03-15 22:13:44 +01:00
Kalev Lember
5f2ad4c40b datetime: Clean up indentation of the ui file
This was done with xmllint --format; no functional changes.
2014-03-15 22:13:44 +01:00
Yosef Or Boczko
4ac350f328 datetime: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:27:12 +02:00
Rui Matos
a401a914eb datetime: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Kalev Lember
17a8595ddc datetime: Sync AM/PM button's accessible name with the text displayed
Instead of hardcoding the accessible name as "Switch between AM and
PM.", set it to "AM" or "PM" depending on which label the stack switcher
is currently showing.

https://bugzilla.gnome.org/show_bug.cgi?id=708219
2013-09-17 14:31:22 +02:00
Kalev Lember
538032d26f datetime: Use the currently preferred way for setting accessible names
For entries that have labels associated, use the mnemonic relationship; and for
those that don't, set up the accessible name.

https://bugzilla.gnome.org/show_bug.cgi?id=708219
2013-09-17 02:04:58 +02:00
Kalev Lember
9fface8f03 datetime: Remove incorrectly set mnemonics
The mnemonics were pointing to other GtkLabels rather than activatable
widgets and were confusing Orca.

https://bugzilla.gnome.org/show_bug.cgi?id=708085
2013-09-16 11:48:12 +02:00
Kalev Lember
47e8406ed6 datetime: Connect arrow up/down keynav across list boxes
https://bugzilla.gnome.org/show_bug.cgi?id=707942
2013-09-15 16:58:43 +02:00
Alejandro Piñeiro
efe1062da0 datetime: setting can_focus to true on listbox rows
https://bugzilla.gnome.org/show_bug.cgi?id=707778
2013-09-11 05:44:27 -04:00
Kalev Lember
c68f9eca50 datetime: Show the automatic timezone switch
The backend in gnome-settings-daemon is now functional, so we can expose
the option in the UI.

https://bugzilla.gnome.org/show_bug.cgi?id=707252
2013-09-02 19:05:46 +02:00
Kalev Lember
718118963e datetime: Implement timezone search with autocompletion
This is first cut at implementing the new timezone dialog design.
Instead of having drop down menus with the city and the continent, we're
now switching to a search entry that has autocompletion.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 15:49:50 +02:00
Kalev Lember
f5cb98c94f datetime: Implement new design for the time subdialog
https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:21:21 +02:00
Kalev Lember
60e448b77a datetime: Move the 24h/12h selection to the main overview
... and use a combobox for choosing between the options.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:21:21 +02:00
Kalev Lember
a0d156d19a datetime: Implement listbox based overview
... and move existing date/time and timezone settings to separate subdialogs.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-20 02:17:32 +02:00
Kalev Lember
c0201168f8 datetime: Resave the .ui file with recent Glade
No functional changes; this is only to minimize changes in subsequent commits
that touch the .ui file.

https://bugzilla.gnome.org/show_bug.cgi?id=694985
2013-08-06 16:09:09 +02:00
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
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