From 2dca9d97ed0310fb16c8fcb9af09e53053e95425 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 21 Oct 2001 03:01:40 +0000 Subject: Don't convert to locale here since EText takes UTF8 strings. Fixes Ximian 2001-10-20 Christopher James Lahey * e-table-group-container.c (compute_text): Don't convert to locale here since EText takes UTF8 strings. Fixes Ximian bug #8906. svn path=/trunk/; revision=13836 --- widgets/table/e-table-group-container.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'widgets/table/e-table-group-container.c') diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index f18ba25e69..0a73ae7648 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -333,26 +333,20 @@ etgc_unrealize (GnomeCanvasItem *item) static void compute_text (ETableGroupContainer *etgc, ETableGroupContainerChildNode *child_node) { - gchar *text, *s1, *s2; + gchar *text; if (etgc->ecol->text) { - s1 = e_utf8_to_locale_string (etgc->ecol->text); - s2 = e_utf8_to_locale_string (child_node->string); text = g_strdup_printf ((child_node->count == 1) ? _("%s : %s (%d item)") : _("%s : %s (%d items)"), - s1, s2, + etgc->ecol->text, child_node->string, (gint) child_node->count); - g_free (s1); - g_free (s2); } else { - s1 = e_utf8_to_locale_string (child_node->string); text = g_strdup_printf ((child_node->count == 1) ? _("%s (%d item)") : _("%s (%d items)"), - s1, + child_node->string, (gint) child_node->count); - g_free (s1); } gnome_canvas_item_set (child_node->text, "text", text, -- cgit v1.2.3