[evolution/express] Bug #610824 - Contacts list view column width doesn't follow header
- From: Michael Meeks <michael src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/express] Bug #610824 - Contacts list view column width doesn't follow header
- Date: Tue, 2 Mar 2010 13:18:49 +0000 (UTC)
commit ff6bcab8bd249026116c314e6496f3f564fa641c
Author: Milan Crha <mcrha redhat com>
Date: Wed Feb 24 16:39:57 2010 +0100
Bug #610824 - Contacts list view column width doesn't follow header
widgets/table/e-table.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index fe8b48e..fcf56da 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]