From 26279f186a6c7ee5b500dbff8a2b7f227cf6f564 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 9 Jul 2000 12:36:07 +0000 Subject: Set header canvas scroll region correctly. 2000-07-09 Christopher James Lahey * e-table.c: Set header canvas scroll region correctly. svn path=/trunk/; revision=4010 --- widgets/e-table/ChangeLog | 4 ++++ widgets/e-table/e-table.c | 2 +- widgets/table/e-table.c | 2 +- 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 + + * e-table.c: Set header canvas scroll region correctly. + 2000-07-09 Anders Carlsson * 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 -- cgit