Index: src/planner-usage-view.c
===================================================================
RCS file: /cvs/gnome/planner/src/planner-usage-view.c,v
retrieving revision 1.4
diff -u -b -B -p -r1.4 planner-usage-view.c
--- src/planner-usage-view.c	23 Apr 2005 10:33:10 -0000	1.4
+++ src/planner-usage-view.c	4 Apr 2006 08:17:01 -0000
@@ -405,6 +405,10 @@ usage_view_create_widget (PlannerView *v
 
         chart = planner_usage_chart_new_with_model (GTK_TREE_MODEL (model));
         priv->chart = PLANNER_USAGE_CHART (chart);
+
+	planner_usage_chart_set_view (PLANNER_USAGE_CHART (priv->chart), 
+				      PLANNER_USAGE_TREE  (priv->tree));
+
         sw = gtk_scrolled_window_new (hadj, vadj);
         gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
                                         GTK_POLICY_ALWAYS,
@@ -483,6 +487,7 @@ usage_view_update_row_and_header_height 
 {
 	GtkTreeView        *tv;
 	PlannerUsageChart  *chart;
+	gint                focus_line_width;
 	gint                row_height;
 	gint                header_height;
 	gint                height;
@@ -498,6 +503,10 @@ usage_view_update_row_and_header_height 
 	row_height = 0;
 	header_height = 0;
 
+	gtk_widget_style_get (GTK_WIDGET (tv),
+			      "focus-line-width", &focus_line_width,
+			      NULL);
+
 	for (l = cols; l; l = l->next) {
 		col = l->data;
 
@@ -517,6 +526,7 @@ usage_view_update_row_and_header_height 
 	g_object_set (chart,
 		      "header_height", header_height,
 		      "row_height", row_height,
+		      "row_height", row_height + 2 * focus_line_width,
 		      NULL);
 }
 
