aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-10-04 21:06:08 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-10-04 21:06:08 +0800
commitb0bbe73658c3083bfcdcca93831a88972b620f2c (patch)
tree9a2ad005c5166f38a50715ae3be58097912f177e /widgets/table
parentbdb103a7f2eb7eefa97543f694e4863b54399ee7 (diff)
downloadgsoc2013-evolution-b0bbe73658c3083bfcdcca93831a88972b620f2c.tar.gz
gsoc2013-evolution-b0bbe73658c3083bfcdcca93831a88972b620f2c.tar.zst
gsoc2013-evolution-b0bbe73658c3083bfcdcca93831a88972b620f2c.zip
dded case insensitive compare support etable, and using it for Organization
filed. Fixes #207110. Patch submitted by "Devashish Sharma <sdevashish@novell.com>" svn path=/trunk/; revision=30489
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-table-extras.c1
2 files changed, 8 insertions, 0 deletions
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 <sdevashish@novell.com>
+
+ * 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 <tml@novell.com>
* 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);