[evolution-patches] 43156: multiple sort columns not persistent
- From: Mike Kestner <mkestner ximian com>
- To: Evolution Patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] 43156: multiple sort columns not persistent
- Date: Wed, 10 Sep 2003 19:01:17 -0500
Silly little patch to fix multi-level sort loading from state files.
This has become a rather popular bug.
--
Mike Kestner <mkestner ximian com>
Index: gal/e-table/e-table-sort-info.c
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/e-table-sort-info.c,v
retrieving revision 1.24
diff -u -p -r1.24 e-table-sort-info.c
--- gal/e-table/e-table-sort-info.c 24 Mar 2003 19:12:18 -0000 1.24
+++ gal/e-table/e-table-sort-info.c 10 Sep 2003 23:53:02 -0000
@@ -380,10 +380,10 @@ e_table_sort_info_load_from_node (ETable
e_table_sort_info_sorting_set_nth(info, i++, column);
}
} else {
+ gint gcnt = 0;
+ gint scnt = 0;
for (grouping = node->children; grouping; grouping = grouping->next) {
ETableSortColumn column;
- gint gcnt = 0;
- gint scnt = 0;
if (grouping->type != XML_ELEMENT_NODE)
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]