aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/ChangeLog3
-rw-r--r--widgets/e-table-item.c2
-rw-r--r--widgets/e-table/ChangeLog3
-rw-r--r--widgets/e-table/e-table-item.c2
-rw-r--r--widgets/table/e-table-item.c2
5 files changed, 9 insertions, 3 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 107b2ee4a8..188b1ff00c 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,5 +1,8 @@
1999-11-20 Miguel de Icaza <miguel@gnu.org>
+ * e-table-item.c (eti_draw): WOOOOHOOOOOoO! It took me quite a
+ while to figure this one out. Fixed.
+
* e-table-header-item.c (ethi_set_arg): Compute width, keep track
of it.
(ethi_add_table_header): Monitor changes to the Header model;
diff --git a/widgets/e-table-item.c b/widgets/e-table-item.c
index 7ddfc10405..1e53180804 100644
--- a/widgets/e-table-item.c
+++ b/widgets/e-table-item.c
@@ -300,7 +300,7 @@ eti_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int width,
for (col = first_col; col < last_col; col++){
ETableCol *ecol = e_table_header_get_column (eti->header, col);
- draw_cell (eti, drawable, col, row, xd, y1 - y, xd + ecol->width, y2);
+ draw_cell (eti, drawable, col, row, xd, y1 - y, xd + ecol->width, y2 - y);
xd += ecol->width;
}
}
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 107b2ee4a8..188b1ff00c 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,5 +1,8 @@
1999-11-20 Miguel de Icaza <miguel@gnu.org>
+ * e-table-item.c (eti_draw): WOOOOHOOOOOoO! It took me quite a
+ while to figure this one out. Fixed.
+
* e-table-header-item.c (ethi_set_arg): Compute width, keep track
of it.
(ethi_add_table_header): Monitor changes to the Header model;
diff --git a/widgets/e-table/e-table-item.c b/widgets/e-table/e-table-item.c
index 7ddfc10405..1e53180804 100644
--- a/widgets/e-table/e-table-item.c
+++ b/widgets/e-table/e-table-item.c
@@ -300,7 +300,7 @@ eti_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int width,
for (col = first_col; col < last_col; col++){
ETableCol *ecol = e_table_header_get_column (eti->header, col);
- draw_cell (eti, drawable, col, row, xd, y1 - y, xd + ecol->width, y2);
+ draw_cell (eti, drawable, col, row, xd, y1 - y, xd + ecol->width, y2 - y);
xd += ecol->width;
}
}
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 7ddfc10405..1e53180804 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -300,7 +300,7 @@ eti_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int width,
for (col = first_col; col < last_col; col++){
ETableCol *ecol = e_table_header_get_column (eti->header, col);
- draw_cell (eti, drawable, col, row, xd, y1 - y, xd + ecol->width, y2);
+ draw_cell (eti, drawable, col, row, xd, y1 - y, xd + ecol->width, y2 - y);
xd += ecol->width;
}
}