aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-16 18:51:33 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-16 18:51:33 +0800
commit1a38235e406fea7d32e9ef3d85ee5cf6c14e3686 (patch)
tree0c9b8ce396b53aee0f89efb264228162dea978f5
parent75a616f581cf49d59d536b8e552fbc2063c7ba9b (diff)
downloadgsoc2013-evolution-1a38235e406fea7d32e9ef3d85ee5cf6c14e3686.tar.gz
gsoc2013-evolution-1a38235e406fea7d32e9ef3d85ee5cf6c14e3686.tar.zst
gsoc2013-evolution-1a38235e406fea7d32e9ef3d85ee5cf6c14e3686.zip
Changed sorting to be at priority level 30.
2000-05-16 Christopher James Lahey <clahey@helixcode.com> * 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
-rw-r--r--widgets/e-table/ChangeLog9
-rw-r--r--widgets/e-table/e-table-sorted-variable.c2
-rw-r--r--widgets/e-table/e-table.c4
-rw-r--r--widgets/table/e-table-sorted-variable.c2
-rw-r--r--widgets/table/e-table.c4
5 files changed, 15 insertions, 6 deletions
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,5 +1,14 @@
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
+ * 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 <clahey@helixcode.com>
+
* e-table-group-container.c: Removed a memory leak here.
* e-table-group-leaf.c: Added a ref/sink pair.
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
diff --git a/widgets/table/e-table-sorted-variable.c b/widgets/table/e-table-sorted-variable.c
index 6ab832de94..acfb33deb7 100644
--- a/widgets/table/e-table-sorted-variable.c
+++ b/widgets/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/table/e-table.c b/widgets/table/e-table.c
index e306abf35f..ae900f084f 100644
--- a/widgets/table/e-table.c
+++ b/widgets/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