From b0bbe73658c3083bfcdcca93831a88972b620f2c Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Tue, 4 Oct 2005 13:06:08 +0000 Subject: dded case insensitive compare support etable, and using it for Organization filed. Fixes #207110. Patch submitted by "Devashish Sharma " svn path=/trunk/; revision=30489 --- widgets/table/ChangeLog | 7 +++++++ widgets/table/e-table-extras.c | 1 + 2 files changed, 8 insertions(+) (limited to 'widgets/table') diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index 93a045b66e..5b9ddc0898 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,10 @@ +2005-10-04 Devashish Sharma + + * e-table-extras.c (ete_init): Added compare type "stringcase" to + ETableExtras to comapre hash table for case insensitive strings. The + corresponding function g_str_case_compare has been added to e-util.c. + See #207110. + 2005-09-29 Tor Lillqvist * e-table.c (e_table_load_specification) diff --git a/widgets/table/e-table-extras.c b/widgets/table/e-table-extras.c index e8529914e8..8bb4c23ae6 100644 --- a/widgets/table/e-table-extras.c +++ b/widgets/table/e-table-extras.c @@ -168,6 +168,7 @@ ete_init (ETableExtras *extras) extras->pixbufs = g_hash_table_new(g_str_hash, g_str_equal); e_table_extras_add_compare(extras, "string", g_str_compare); + e_table_extras_add_compare(extras, "stringcase", g_str_case_compare); e_table_extras_add_compare(extras, "collate", g_collate_compare); e_table_extras_add_compare(extras, "integer", g_int_compare); e_table_extras_add_compare(extras, "string-integer", e_strint_compare); -- cgit