Hello,
Is there a way of getting the timezone out of gnome clock? I need in
particular the code of the country the user has selected. I'm developing
a program[1] that could automatically choose a country from a list based
on this knowledge.
panel clock applet has this file clock-country.c[2] which has a struct
typedef struct {
gchar *code;
#ifdef MEMORY_DOESNT_MATTER
gchar *name;
#endif
const gchar *l10n_name;
} ClockCountryPrivate;
is this 'code' stored as ISO 3166-1[3] or something like that?
best regards,
Antti Kaijanmäki
[1]http://www.kaijanmaki.net/blog
[2]http://svn.gnome.org/viewvc/gnome-panel/trunk/applets/clock/clock-country.c?revision=11035&view=markup
[3]http://en.wikipedia.org/wiki/ISO_3166-1
Attachment:
signature.asc
Description: Digitaalisesti allekirjoitettu viestin osa