aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/component
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
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')
-rw-r--r--executive-summary/component/Makefile.am1
-rw-r--r--executive-summary/component/e-summary-callbacks.c2
-rw-r--r--executive-summary/component/e-summary-url.c6
3 files changed, 5 insertions, 4 deletions
diff --git a/executive-summary/component/Makefile.am b/executive-summary/component/Makefile.am
index 69856b1837..c9e76138c5 100644
--- a/executive-summary/component/Makefile.am
+++ b/executive-summary/component/Makefile.am
@@ -13,7 +13,6 @@ INCLUDES = \
$(EXTRA_GNOME_CFLAGS) \
$(GNOME_VFS_CFLAGS) \
$(GTKHTML_CFLAGS) \
- -DEVOLUTION_VERSION=\""$(VERSION)"\" \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DEVOLUTION_ICONSDIR=\""$(iconsdir)"\" \
-DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
diff --git a/executive-summary/component/e-summary-callbacks.c b/executive-summary/component/e-summary-callbacks.c
index 8d1a2eb5fb..216d28c30f 100644
--- a/executive-summary/component/e-summary-callbacks.c
+++ b/executive-summary/component/e-summary-callbacks.c
@@ -123,7 +123,7 @@ embed_service (GtkWidget *widget,
NULL};
char *obj_id;
- obj_id = bonobo_selector_select_id ("Select a service",
+ obj_id = bonobo_selector_select_id (_("Select a service"),
(const char **) required_interfaces);
if (obj_id == NULL)
return;
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;