diff options
Diffstat (limited to 'executive-summary/component')
-rw-r--r-- | executive-summary/component/Makefile.am | 1 | ||||
-rw-r--r-- | executive-summary/component/e-summary-callbacks.c | 2 | ||||
-rw-r--r-- | executive-summary/component/e-summary-url.c | 6 |
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; |