aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/component/e-summary-url.c
diff options
context:
space:
mode:
authorGediminas Paulauskas <menesis@delfi.lt>2001-05-05 23:29:07 +0800
committerGediminas Paulauskas <menesis@src.gnome.org>2001-05-05 23:29:07 +0800
commit6476d43a8761b7763ea64f726618658714d1345a (patch)
tree7e8ae0b259bb07c6dcf456d7ea7e6bee74ce3c0e /executive-summary/component/e-summary-url.c
parent54bb5b485659a7bb51d34c3a3de56f6a7a6c0887 (diff)
downloadgsoc2013-evolution-6476d43a8761b7763ea64f726618658714d1345a.tar
gsoc2013-evolution-6476d43a8761b7763ea64f726618658714d1345a.tar.gz
gsoc2013-evolution-6476d43a8761b7763ea64f726618658714d1345a.tar.bz2
gsoc2013-evolution-6476d43a8761b7763ea64f726618658714d1345a.tar.lz
gsoc2013-evolution-6476d43a8761b7763ea64f726618658714d1345a.tar.xz
gsoc2013-evolution-6476d43a8761b7763ea64f726618658714d1345a.tar.zst
gsoc2013-evolution-6476d43a8761b7763ea64f726618658714d1345a.zip
no need of -DEVOLUTION_VERSION
2001-05-05 Gediminas Paulauskas <menesis@delfi.lt> * component/Makefile.am, evolution-services/Makefile.am: no need of -DEVOLUTION_VERSION * component/e-summary-callbacks.c: translate window title. * component/e-summary-url.c (e_summary_url_describe): contents are in utf-8, convert to locale. * test-service/Makefile.am: define EVOLUTION_LOCALEDIR. * test-service/rdf-summary.c: init gettext. svn path=/trunk/; revision=9681
Diffstat (limited to 'executive-summary/component/e-summary-url.c')
-rw-r--r--executive-summary/component/e-summary-url.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/executive-summary/component/e-summary-url.c b/executive-summary/component/e-summary-url.c
index 4b26f1a85d..202a026406 100644
--- a/executive-summary/component/e-summary-url.c
+++ b/executive-summary/component/e-summary-url.c
@@ -798,12 +798,14 @@ e_summary_url_describe (const char *uri,
ESummary *esummary)
{
ESummaryProtocol protocol;
- char *contents, *description;
+ char *contents, *description, *tmp;
protocol = get_protocol (uri);
contents = parse_uri (uri, protocol, esummary);
+ tmp = e_utf8_to_locale_string (contents);
- description = g_strdup_printf (_(descriptions[protocol]), contents);
+ description = g_strdup_printf (_(descriptions[protocol]), tmp);
+ g_free (tmp);
g_free (contents);
return description;