diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-07-09 20:36:07 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-07-09 20:36:07 +0800 |
commit | 26279f186a6c7ee5b500dbff8a2b7f227cf6f564 (patch) | |
tree | e20726ea1f1bd6ba663d3db92e53f6c99b44ea21 /widgets | |
parent | 6525d9ad47554ce93f66a2d266c4b979ee65cbad (diff) | |
download | gsoc2013-evolution-26279f186a6c7ee5b500dbff8a2b7f227cf6f564.tar gsoc2013-evolution-26279f186a6c7ee5b500dbff8a2b7f227cf6f564.tar.gz gsoc2013-evolution-26279f186a6c7ee5b500dbff8a2b7f227cf6f564.tar.bz2 gsoc2013-evolution-26279f186a6c7ee5b500dbff8a2b7f227cf6f564.tar.lz gsoc2013-evolution-26279f186a6c7ee5b500dbff8a2b7f227cf6f564.tar.xz gsoc2013-evolution-26279f186a6c7ee5b500dbff8a2b7f227cf6f564.tar.zst gsoc2013-evolution-26279f186a6c7ee5b500dbff8a2b7f227cf6f564.zip |
Set header canvas scroll region correctly.
2000-07-09 Christopher James Lahey <clahey@helixcode.com>
* e-table.c: Set header canvas scroll region correctly.
svn path=/trunk/; revision=4010
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/e-table/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/e-table/e-table.c | 2 | ||||
-rw-r--r-- | 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 <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 |