diff options
author | Gediminas Paulauskas <menesis@delfi.lt> | 2001-04-04 10:14:11 +0800 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-04 10:14:11 +0800 |
commit | 7296e1c66438454fa48b616605a6720e6ab05923 (patch) | |
tree | fcc8f32a13472453eedadca7f385ac6dba43d208 /mail | |
parent | 2723c5fba64556af7aadf82916a765cbecb0bda5 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | mail/ChangeLog | 10 | ||||
-rw-r--r-- | mail/mail-config-druid.c | 3 | ||||
-rw-r--r-- | mail/mail-config.c | 3 |
3 files changed, 14 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 8b0522cdec..fce55d6ae6 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,15 @@ 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> + * component-factory.c: use big trash icon, stolen from mc. 2001-04-03 Jeffrey Stedfast <fejj@ximian.com> 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)); diff --git a/mail/mail-config.c b/mail/mail-config.c index a5ce5329f1..cf7e1eb517 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1017,7 +1017,8 @@ mail_config_check_service (const char *url, CamelProviderType type, GList **auth GNOME_STOCK_BUTTON_CANCEL, NULL); label = gtk_label_new (_("Connecting to server...")); - gtk_box_pack_start (GNOME_DIALOG (dialog)->vbox, label, TRUE, TRUE, 10); + gtk_box_pack_start (GTK_BOX(GNOME_DIALOG (dialog)->vbox), + label, TRUE, TRUE, 10); gnome_dialog_set_close (GNOME_DIALOG (dialog), FALSE); gtk_signal_connect (GTK_OBJECT (dialog), "clicked", GTK_SIGNAL_FUNC (check_cancelled), &id); |