Re: Foobar patch
- From: Havoc Pennington <hp redhat com>
- To: Chris Phelps <chicane reninet com>
- Cc: gnome-2-0-list gnome org
- Subject: Re: Foobar patch
- Date: 11 Dec 2001 18:28:38 -0500
Hi,
Chris Phelps <chicane reninet com> writes:
> + das_time = 0;
> + das_tm = localtime (&das_time);
> + strftime(hour, sizeof(hour), _(clock_format), das_tm);
> + layout = gtk_widget_create_pango_layout (foo->clock_label, hour);
Note that "hour" is not in UTF-8, you need a g_locale_to_utf8().
The clock part looks good to me otherwise.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]