diff options
author | Miguel de Icaza <miguel@gnu.org> | 1999-11-21 09:26:17 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-11-21 09:26:17 +0800 |
commit | 6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7 (patch) | |
tree | dbdcf0a07752e04c76abd336d4f99e57dd1f18f3 | |
parent | 77df46c366a3b761288db21b2593e963c4590207 (diff) | |
download | gsoc2013-evolution-6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7.tar gsoc2013-evolution-6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7.tar.gz gsoc2013-evolution-6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7.tar.bz2 gsoc2013-evolution-6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7.tar.lz gsoc2013-evolution-6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7.tar.xz gsoc2013-evolution-6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7.tar.zst gsoc2013-evolution-6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7.zip |
WOOOOHOOOOOoO! It took me quite a while to figure this one out. Fixed.
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.
svn path=/trunk/; revision=1426
-rw-r--r-- | widgets/ChangeLog | 3 | ||||
-rw-r--r-- | widgets/e-table-item.c | 2 | ||||
-rw-r--r-- | widgets/e-table/ChangeLog | 3 | ||||
-rw-r--r-- | widgets/e-table/e-table-item.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-item.c | 2 |
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; } } |