Commit graph

51 commits

Author SHA1 Message Date
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
Thomas Wood
b760bf312c datetime: ensure the panel does not need the shell to resize horizontally
Reduce the width and height required for the timezone map so that the
panel fits into the shell window without needing it to resize
horizontally.
2010-07-22 17:50:00 +01:00
Thomas Wood
f5c0b73214 panels: Use gi18n-lib.h in the panel libraries 2010-07-22 16:56:27 +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
93cd5dae5e datetime: Draw a label to indicate the current location
Draw a label on the timezone map to indicate the name and position of the
current location.
2010-07-14 17:29:06 +01:00
Thomas Wood
eb52e24f6c Add icons for the Date and Time settings panel
Add icons drawn by Lapo Calamandrei <calamandrei@gmail.com>
2010-07-12 15:33:02 +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
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