aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-composer-prefs.c5
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 <rodo@ximian.com>
+
+ * mail-composer-prefs.c (sig_fill_clist): use gtk string instead
+ of utf8 one
+
2002-06-04 Jeffrey Stedfast <fejj@ximian.com>
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);
}