aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-21 11:01:40 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-21 11:01:40 +0800
commit2dca9d97ed0310fb16c8fcb9af09e53053e95425 (patch)
tree4626f27c1d2258220c42506d6ffe33fe66fd57f7 /widgets/table
parent872eec784e2ba1c65ef9e8489a9fc199c4059fc3 (diff)
downloadgsoc2013-evolution-2dca9d97ed0310fb16c8fcb9af09e53053e95425.tar
gsoc2013-evolution-2dca9d97ed0310fb16c8fcb9af09e53053e95425.tar.gz
gsoc2013-evolution-2dca9d97ed0310fb16c8fcb9af09e53053e95425.tar.bz2
gsoc2013-evolution-2dca9d97ed0310fb16c8fcb9af09e53053e95425.tar.lz
gsoc2013-evolution-2dca9d97ed0310fb16c8fcb9af09e53053e95425.tar.xz
gsoc2013-evolution-2dca9d97ed0310fb16c8fcb9af09e53053e95425.tar.zst
gsoc2013-evolution-2dca9d97ed0310fb16c8fcb9af09e53053e95425.zip
Don't convert to locale here since EText takes UTF8 strings. Fixes Ximian
2001-10-20 Christopher James Lahey <clahey@ximian.com> * 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
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-group-container.c12
1 files changed, 3 insertions, 9 deletions
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,