From 7c0ae30997a173f4f6411123fdef2db9512ad4a4 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Wed, 5 Jun 2002 19:30:18 +0000 Subject: use gtk string instead of utf8 one 2002-06-05 Radek Doulik * mail-composer-prefs.c (sig_fill_clist): use gtk string instead of utf8 one svn path=/trunk/; revision=17121 --- mail/ChangeLog | 5 +++++ mail/mail-composer-prefs.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index cd2e957b65..1d8b318c6b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2002-06-05 Radek Doulik + + * mail-composer-prefs.c (sig_fill_clist): use gtk string instead + of utf8 one + 2002-06-04 Jeffrey Stedfast The following changes take a great leap toward fixing bug #1042. diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c index 95bb5bf8a8..669c02c4fe 100644 --- a/mail/mail-composer-prefs.c +++ b/mail/mail-composer-prefs.c @@ -311,14 +311,15 @@ static void sig_fill_clist (GtkCList *clist) { GList *l; - char *name[1]; + char *name [1]; int row; gtk_clist_freeze (clist); for (l = mail_config_get_signature_list (); l; l = l->next) { - name[0] = ((MailConfigSignature *) l->data)->name; + name [0] = e_utf8_to_gtk_string (clist, ((MailConfigSignature *) l->data)->name); row = gtk_clist_append (clist, name); gtk_clist_set_row_data (clist, row, l->data); + g_free (name [0]); } gtk_clist_thaw (clist); } -- cgit