aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorGediminas Paulauskas <menesis@delfi.lt>2001-04-04 10:14:11 +0800
committerGediminas Paulauskas <menesis@src.gnome.org>2001-04-04 10:14:11 +0800
commit7296e1c66438454fa48b616605a6720e6ab05923 (patch)
treefcc8f32a13472453eedadca7f385ac6dba43d208 /mail/mail-config-druid.c
parent2723c5fba64556af7aadf82916a765cbecb0bda5 (diff)
downloadgsoc2013-evolution-7296e1c66438454fa48b616605a6720e6ab05923.tar
gsoc2013-evolution-7296e1c66438454fa48b616605a6720e6ab05923.tar.gz
gsoc2013-evolution-7296e1c66438454fa48b616605a6720e6ab05923.tar.bz2
gsoc2013-evolution-7296e1c66438454fa48b616605a6720e6ab05923.tar.lz
gsoc2013-evolution-7296e1c66438454fa48b616605a6720e6ab05923.tar.xz
gsoc2013-evolution-7296e1c66438454fa48b616605a6720e6ab05923.tar.zst
gsoc2013-evolution-7296e1c66438454fa48b616605a6720e6ab05923.zip
set content type to utf8. fix warning. just call on_link_clicked().
2001-04-04 Gediminas Paulauskas <menesis@delfi.lt> * mail-config-druid.c (create_html): set content type to utf8. * mail-config.c (mail_config_check_service): fix warning. * mail-display.c (link_open_in_browser): just call on_link_clicked(). (link_menu): Open link works. (link_copy_location): claim selection. (on_selection_get): new function, selection handler. (mail_display_new): connect to selection_get. FIXME: does not work. 2001-04-04 Gediminas Paulauskas <menesis@delfi.lt> * importer/importer.c (create_html): copied newer and fixed function from mail/mail-config-druid.c. (html_new, put_html): removed. (show_import_wizard): use create_html instead of html_new/put_html pair. * importer/importer.glade: a try to set logo. removed source generation options. svn path=/trunk/; revision=9161
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 6b99bd4a4a..c6d386507f 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -149,7 +149,8 @@ create_html (const char *name)
}
g_return_val_if_fail (i != num_info, scrolled);
- stream = gtk_html_begin (GTK_HTML (html));
+ stream = gtk_html_begin_content (GTK_HTML (html),
+ "text/html; charset=utf-8");
gtk_html_write (GTK_HTML (html), stream, "<html><p>", 9);
utf8 = e_utf8_from_locale_string (_(info[i].text));
gtk_html_write (GTK_HTML (html), stream, utf8, strlen (utf8));