diff options
author | Dan Winship <danw@src.gnome.org> | 2001-01-02 22:17:57 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-01-02 22:17:57 +0800 |
commit | 45f3b8b6e04845a465d6b4d06a2af876e90296ce (patch) | |
tree | 88168d70af50f6a68a2b38e795b99a4096cd6bad /composer/e-msg-composer-hdrs.c | |
parent | 7f77a607eaf0636fb983f51c4697a298596b7211 (diff) | |
download | gsoc2013-evolution-45f3b8b6e04845a465d6b4d06a2af876e90296ce.tar.gz gsoc2013-evolution-45f3b8b6e04845a465d6b4d06a2af876e90296ce.tar.zst gsoc2013-evolution-45f3b8b6e04845a465d6b4d06a2af876e90296ce.zip |
Call e_utf8_to_gtk_string on the combobox strings.
* e-msg-composer-hdrs.c (create_dropdown_entry): Call
e_utf8_to_gtk_string on the combobox strings.
svn path=/trunk/; revision=7208
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index 6afcf1d6e2..8ea0ea5d4e 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -143,7 +143,7 @@ create_dropdown_entry (EMsgComposerHdrs *hdrs, ids = mail_config_get_identities (); stmp = ids; while (stmp) { - char *address; + char *address, *addr_local; id = stmp->data; g_assert (id); @@ -151,7 +151,9 @@ create_dropdown_entry (EMsgComposerHdrs *hdrs, g_assert (id->address); address = camel_internet_address_format_address(id->name, id->address); - values = g_list_append (values, address); + addr_local = e_utf8_to_gtk_string (combo, address); + g_free (address); + values = g_list_append (values, addr_local); stmp = stmp->next; } |