From 1a38235e406fea7d32e9ef3d85ee5cf6c14e3686 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 16 May 2000 10:51:33 +0000 Subject: Changed sorting to be at priority level 30. 2000-05-16 Christopher James Lahey * e-table-sorted-variable.c: Changed sorting to be at priority level 30. * e-table.c: Changed rebuild of the table to be at priority level 20. This gives it an advantage over pretty much everything, including e-table-sorted-variable sorting and canvas redraw. svn path=/trunk/; revision=3082 --- widgets/e-table/ChangeLog | 9 +++++++++ widgets/e-table/e-table-sorted-variable.c | 2 +- widgets/e-table/e-table.c | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'widgets/e-table') diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index aa7a6c497e..52157a003e 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,12 @@ +2000-05-16 Christopher James Lahey + + * e-table-sorted-variable.c: Changed sorting to be at priority + level 30. + + * e-table.c: Changed rebuild of the table to be at priority level + 20. This gives it an advantage over pretty much everything, + including e-table-sorted-variable sorting and canvas redraw. + 2000-05-16 Christopher James Lahey * e-table-group-container.c: Removed a memory leak here. diff --git a/widgets/e-table/e-table-sorted-variable.c b/widgets/e-table/e-table-sorted-variable.c index 6ab832de94..acfb33deb7 100644 --- a/widgets/e-table/e-table-sorted-variable.c +++ b/widgets/e-table/e-table-sorted-variable.c @@ -118,7 +118,7 @@ etsv_add (ETableSubsetVariable *etssv, etss->map_table[etss->n_map] = row; etss->n_map++; if (etsv->sort_idle_id == 0) { - etsv->sort_idle_id = g_idle_add_full(50, (GSourceFunc) etsv_sort_idle, etsv, NULL); + etsv->sort_idle_id = g_idle_add_full(30, (GSourceFunc) etsv_sort_idle, etsv, NULL); } if (!etm->frozen) e_table_model_row_inserted (etm, etss->n_map - 1); diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c index e306abf35f..ae900f084f 100644 --- a/widgets/e-table/e-table.c +++ b/widgets/e-table/e-table.c @@ -120,7 +120,7 @@ sort_info_changed (ETableSortInfo *info, ETable *et) { et->need_rebuild = TRUE; if (!et->rebuild_idle_id) - et->rebuild_idle_id = g_idle_add (changed_idle, et); + et->rebuild_idle_id = g_idle_add_full (20, changed_idle, et, NULL); } static void @@ -216,7 +216,7 @@ et_table_model_changed (ETableModel *model, ETable *et) { et->need_rebuild = TRUE; if (!et->rebuild_idle_id) - et->rebuild_idle_id = g_idle_add (changed_idle, et); + et->rebuild_idle_id = g_idle_add_full (20, changed_idle, et, NULL); } static void -- cgit v1.2.3