aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table.c2
-rw-r--r--widgets/table/e-table.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 65a8c7c99e..0866fb8700 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-09 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-table.c: Set header canvas scroll region correctly.
+
2000-07-09 Anders Carlsson <andersca@gnu.org>
* e-table-header-item.c (ethi_drag_motion): Don't draw drop
diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c
index 198b1d6bb1..a1f1b40b08 100644
--- a/widgets/e-table/e-table.c
+++ b/widgets/e-table/e-table.c
@@ -133,7 +133,7 @@ header_canvas_size_allocate (GtkWidget *widget, GtkAllocation *alloc, ETable *e_
{
gnome_canvas_set_scroll_region (
GNOME_CANVAS (e_table->header_canvas),
- 0, 0, alloc->width, COLUMN_HEADER_HEIGHT);
+ 0, 0, alloc->width - 1, COLUMN_HEADER_HEIGHT - 1);
}
static void
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 198b1d6bb1..a1f1b40b08 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -133,7 +133,7 @@ header_canvas_size_allocate (GtkWidget *widget, GtkAllocation *alloc, ETable *e_
{
gnome_canvas_set_scroll_region (
GNOME_CANVAS (e_table->header_canvas),
- 0, 0, alloc->width, COLUMN_HEADER_HEIGHT);
+ 0, 0, alloc->width - 1, COLUMN_HEADER_HEIGHT - 1);
}
static void