Hello,

I have exactly the same problem in Ubuntu Edgy 2.8.1-0ubuntu4 when
upgrading from Dapper.

I've a patch that solves it. The problem is in widgets/table/e-tree.c. I
have no previous experience with evolution code, but I've done the same
thing that is already present in widgets/table/e-table.c, so I assume it
is correct.

BTW, are there ubuntu developpers reading this or do I have to open a
bug in Ubuntu's BTS?

Regards,

Josep


--- evolution-2.8.1.orig/widgets/table/e-tree.c
+++ evolution-2.8.1/widgets/table/e-tree.c
@@ -1850,10 +1850,12 @@
 	}
 
 	if (tree->priv) {
-		gtk_layout_set_hadjustment (GTK_LAYOUT(tree->priv->table_canvas),
-					    hadjustment);
-		gtk_layout_set_vadjustment (GTK_LAYOUT(tree->priv->table_canvas),
-					    vadjustment);
+		if (tree->priv->table_canvas) {
+			gtk_layout_set_hadjustment (GTK_LAYOUT(tree->priv->table_canvas),
+						    hadjustment);
+			gtk_layout_set_vadjustment (GTK_LAYOUT(tree->priv->table_canvas),
+						    vadjustment);
+		}
 
 		if (tree->priv->header_canvas != NULL)
 			gtk_layout_set_hadjustment (GTK_LAYOUT(tree->priv->header_canvas),
  • Bug#387210: I have the same problem (+patch) Josep Monés i Teixidor

Reply via email to