diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-04-30 06:33:50 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-04-30 06:33:50 +0800 |
commit | 1ea21ba3e616d4a2b38ed6cbaf0fe3ff8f9140db (patch) | |
tree | 0a4157e125c66eb0621fbdb4d8fc1ed6252a100b /mail/message-tag-followup.c | |
parent | c049d43462e76a1f96891819fdf8798ed52a513e (diff) | |
download | gsoc2013-evolution-1ea21ba3e616d4a2b38ed6cbaf0fe3ff8f9140db.tar.gz gsoc2013-evolution-1ea21ba3e616d4a2b38ed6cbaf0fe3ff8f9140db.tar.zst gsoc2013-evolution-1ea21ba3e616d4a2b38ed6cbaf0fe3ff8f9140db.zip |
Convert UTF-8 to gtkstrings since we are using a clist and not an E-widget
2002-04-29 Jeffrey Stedfast <fejj@ximian.com>
* message-tag-followup.c (message_tag_followup_append_message):
Convert UTF-8 to gtkstrings since we are using a clist and not an
E-widget that takes UTF-8.
* mail-display.c (mail_display_add_url): If the data-urls is NULL,
add a data-urls hash to the datalist. This finishes up bug #90.
svn path=/trunk/; revision=16640
Diffstat (limited to 'mail/message-tag-followup.c')
-rw-r--r-- | mail/message-tag-followup.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/message-tag-followup.c b/mail/message-tag-followup.c index 4b6af39e40..b228f689c7 100644 --- a/mail/message-tag-followup.c +++ b/mail/message-tag-followup.c @@ -31,8 +31,11 @@ #include <glade/glade.h> +#include <libgnome/gnome-defs.h> +#include <libgnomeui/gnome-window-icon.h> #include <libgnomeui/gnome-pixmap.h> +#include <gal/widgets/e-unicode.h> #include <gal/util/e-unicode-i18n.h> #include "message-tag-followup.h" @@ -377,9 +380,12 @@ message_tag_followup_append_message (MessageTagFollowUp *editor, g_return_if_fail (IS_MESSAGE_TAG_FOLLOWUP (editor)); - text[0] = (char *) from; - text[1] = (char *) subject; + text[0] = e_utf8_to_gtk_string (GTK_WIDGET (editor->message_list), from); + text[1] = e_utf8_to_gtk_string (GTK_WIDGET (editor->message_list), subject); text[2] = NULL; gtk_clist_append (editor->message_list, text); + + g_free (text[0]); + g_free (text[1]); } |