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
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
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
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
Bastien Nocera
b28923cc90
datetime: Use GTK+ lock button
2011-05-07 17:46:55 +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
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
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
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
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
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
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
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
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
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
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
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
4915df9724
datetime: don't try to set the timezone if the current location is unknown
2010-06-29 19:16:25 +01:00
Thomas Wood
3776c0fd07
datetime: use X-GNOME-Settings-Panel flag and correct Exec line
...
Fix the Exec line in the .desktop file and use the X-GNOME-Settings-Panel
property to identify the panel.
2010-06-29 18:09:17 +01:00
Thomas Wood
89e778c362
datetime: get the current system timezone and show it on the map at startup
2010-06-28 18:06:33 +01:00
Thomas Wood
8db6536da9
datetime: update the time labels when the location is changed
...
Update the time labels so that the time is changed accordingly with the
timezone.
2010-06-28 11:41:37 +01:00
Thomas Wood
402d7dce03
datetime: replace underscores with spaces for location display name
2010-06-28 11:15:18 +01:00
Thomas Wood
26ae0134cf
datetime: add detection of location from map clicks
2010-06-28 10:58:43 +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
3c39f562c6
datetime: Set the correct date and time in the UI
...
Set the current date in the calendar and keep the current time label
updated.
2010-06-28 10:58:43 +01:00
Thomas Wood
15560a924c
datetime: ensure the map is shown
2010-06-16 18:08:43 +01:00