aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-02-24 23:39:57 +0800
committerMilan Crha <mcrha@redhat.com>2010-02-24 23:39:57 +0800
commita0f7dea42b2ba6aa1a18a14745bb1cb96341b375 (patch)
tree14da69f51aaa4ce88930cf166b750d33181d686a /widgets/table
parent17a63ea790c5d88665ab588d19327d2f1490b17f (diff)
downloadgsoc2013-evolution-a0f7dea42b2ba6aa1a18a14745bb1cb96341b375.tar
gsoc2013-evolution-a0f7dea42b2ba6aa1a18a14745bb1cb96341b375.tar.gz
gsoc2013-evolution-a0f7dea42b2ba6aa1a18a14745bb1cb96341b375.tar.bz2
gsoc2013-evolution-a0f7dea42b2ba6aa1a18a14745bb1cb96341b375.tar.lz
gsoc2013-evolution-a0f7dea42b2ba6aa1a18a14745bb1cb96341b375.tar.xz
gsoc2013-evolution-a0f7dea42b2ba6aa1a18a14745bb1cb96341b375.tar.zst
gsoc2013-evolution-a0f7dea42b2ba6aa1a18a14745bb1cb96341b375.zip
Bug #610824 - Contacts list view column width doesn't follow header
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index fe8b48e88b..fcf56da531 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -736,6 +736,9 @@ table_canvas_size_allocate (GtkWidget *widget, GtkAllocation *alloc,
table_canvas_reflow_idle(e_table);
e_table->size_allocated = TRUE;
+
+ if (e_table->need_rebuild && !e_table->rebuild_idle_id)
+ e_table->rebuild_idle_id = g_idle_add_full (20, changed_idle, e_table, NULL);
}
static void
@@ -1012,9 +1015,10 @@ changed_idle (gpointer data)
NULL);
table_canvas_size_allocate (widget, &allocation, et);
+
+ et->need_rebuild = 0;
}
- et->need_rebuild = 0;
et->rebuild_idle_id = 0;
CHECK_HORIZONTAL(et);