diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-03-28 05:37:07 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-03-28 05:37:07 +0800 |
commit | c6ed3eedc881b57ac7d767a282413db7966f8a8b (patch) | |
tree | 18ded69ef658a974fc9c012ac09c63c9ed9f3858 /my-evolution/e-summary.c | |
parent | a764639cd2f9f85da377fa6987c10bc1005d74ef (diff) | |
download | gsoc2013-evolution-c6ed3eedc881b57ac7d767a282413db7966f8a8b.tar.gz gsoc2013-evolution-c6ed3eedc881b57ac7d767a282413db7966f8a8b.tar.zst gsoc2013-evolution-c6ed3eedc881b57ac7d767a282413db7966f8a8b.zip |
Likewise.
* e-summary.c (e_summary_init): Likewise.
* e-summary-weather.c (e_summary_weather_get_html): Likewise.
(weather_make_html): Likewise.
* e-summary-mail.c (e_summary_mail_generate_html): Fix so it
handles the fact that the translated strings are already in UTF8.
* e-summary-rdf.c (tree_walk): Likewise.
(display_doc): Likewise.
svn path=/trunk/; revision=20553
Diffstat (limited to 'my-evolution/e-summary.c')
-rw-r--r-- | my-evolution/e-summary.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c index bc7316d107..300b44e14f 100644 --- a/my-evolution/e-summary.c +++ b/my-evolution/e-summary.c @@ -503,7 +503,7 @@ e_summary_init (ESummary *summary) GConfClient *gconf_client; ESummaryPrivate *priv; GdkColor bgcolor = {0, 0xffff, 0xffff, 0xffff}; - char *def, *default_utf; + char *def; summary->priv = g_new (ESummaryPrivate, 1); @@ -522,10 +522,8 @@ e_summary_init (ESummary *summary) "text/html; charset=utf-8"); gtk_html_set_default_background_color (GTK_HTML (priv->html), &bgcolor); def = g_strdup_printf (DEFAULT_HTML, _("Please wait...")); - default_utf = e_utf8_from_locale_string (def); - gtk_html_load_from_string (GTK_HTML (priv->html), default_utf, strlen (default_utf)); + gtk_html_load_from_string (GTK_HTML (priv->html), def, strlen (def)); g_free (def); - g_free (default_utf); g_signal_connect (priv->html, "url-requested", G_CALLBACK (e_summary_url_requested), summary); g_signal_connect (priv->html, "link-clicked", G_CALLBACK (e_summary_url_clicked), summary); |