Commit graph

77 commits

Author SHA1 Message Date
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
Richard Hughes
07968e54ab Fix compile with recent GTK versions 2010-06-30 17:34:00 +01:00
Thomas Wood
74077861ed datetime: work around a cairo bug
Add an alpha channel to the background map to work around a drawing issue
with cairo.
2010-06-30 15:55:48 +01:00
Thomas Wood
59f894bf1b datetime: install the UI files into the correct directory 2010-06-30 13:49:49 +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
b9d7114c2a datetime: be sure to unref the old map and color map 2010-06-29 18:16:29 +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
ae9bb70c5e datetime: add the dbus cflags and libraries 2010-06-29 17:48:57 +01:00
Thomas Wood
8c6eba7878 datetime: fix issues with distcheck
Add translatable files to POTFILES.in or POTFILES.skip and make sure the
data files are included in the distribution.
2010-06-29 14:31:33 +01:00
Thomas Wood
bb229f1491 datetime: define capplet name for GNOMECC_CAPPLETS_CFLAGS 2010-06-29 13:29:30 +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
12e1151128 datetime: propagate dbus errors
Make sure that any dbus errors can be presented in the UI if needed.
2010-06-29 12:51: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
5ed92c674e datetime: add a function to set the current location on CcTimezoneMap
Add cc_timezone_map_set_timezone function to set the current location on
the map.
2010-06-28 17:59:27 +01:00
Thomas Wood
8174f22fe7 datetime: add a function to retrieve current timezone from dbus
Add get_system_timezone_async function to request the current timezone from
the SettingsDaemon.DateTimeMechanism dbus object.
2010-06-28 17:48:47 +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
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
15560a924c datetime: ensure the map is shown 2010-06-16 18:08:43 +01:00
Thomas Wood
3c863ae379 datetime: update .desktop file name and comment fields 2010-06-16 18:08:43 +01:00
Thomas Wood
29e221e699 datetime: add a GtkBuilder file to define the user interface 2010-06-16 18:08:43 +01:00
Thomas Wood
e35b73abb5 Add initial implementation of date/time panel 2010-06-16 18:08:43 +01:00