Commit graph

269 commits

Author SHA1 Message Date
Matthias Clasen
5bc2bbe79b Prevent the date&time panel from growing horizontally 2011-01-25 21:50:55 -05: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
William Jon McCann
f615a21faf datetime: fix layout and spacing to match mockups 2011-01-06 18:28:07 -05:00
Florian Müllner
d1bac479ef datetime: Use header capitalization in name
Conjunctions like 'and' should not be capitalized.
2010-12-21 12:39:40 +01:00
Bastien Nocera
3d9f470da2 datetime: Fix distcheck with parallel build 2010-12-16 18:37:59 +00: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
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
9ee79e2215 datetime: Add "using NTP" helpers 2010-12-09 14:28:13 +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
William Jon McCann
d51d16fddf various: use a consistent and slightly larger border width for panels 2010-11-21 19:33:34 -05:00
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