aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2002-06-06 03:30:18 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-06-06 03:30:18 +0800
commit7c0ae30997a173f4f6411123fdef2db9512ad4a4 (patch)
tree8bfa0cbbfe3561d8e9eeab04f5836e849bc412f6 /mail
parent5a9c89aeeafbcf70eac4958b239363d23a8988e5 (diff)
downloadgsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.tar
gsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.tar.gz
gsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.tar.bz2
gsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.tar.lz
gsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.tar.xz
gsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.tar.zst
gsoc2013-evolution-7c0ae30997a173f4f6411123fdef2db9512ad4a4.zip
use gtk string instead of utf8 one
2002-06-05 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_fill_clist): use gtk string instead of utf8 one svn path=/trunk/; revision=17121
Diffstat (limited to 'mail')
-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);
}