[evolution] Bug #610824 - Contacts list view column width doesn't follow header
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #610824 - Contacts list view column width doesn't follow header
- Date: Wed, 24 Feb 2010 15:40:35 +0000 (UTC)
commit a0f7dea42b2ba6aa1a18a14745bb1cb96341b375
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]