diff options
author | Mike Kestner <mkestner@ximian.com> | 2003-05-10 01:14:17 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2003-05-10 01:14:17 +0800 |
commit | 4d311889344a6106f5ca8913c6d107cc47119862 (patch) | |
tree | 27ed5759fb43c7e89fa27ad3850e18640ba89ff4 /widgets/table/e-table-item.c | |
parent | cc7acff2e20a893b5616a8fde92a371547aa10f6 (diff) | |
download | gsoc2013-evolution-4d311889344a6106f5ca8913c6d107cc47119862.tar.gz gsoc2013-evolution-4d311889344a6106f5ca8913c6d107cc47119862.tar.zst gsoc2013-evolution-4d311889344a6106f5ca8913c6d107cc47119862.zip |
don't return on col == -1. update the adjustment to center the cursor.
2003-05-09 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_cursor_change): don't return on col == -1.
* e-tree.c (tree_canvas_size_allocate): update the adjustment
to center the cursor.
(hover_timeout): remove unused variable to fix warning
svn path=/trunk/; revision=21142
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 44aeecebb2..30c03d0c90 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -3121,7 +3121,7 @@ eti_cursor_change (ESelectionModel *selection, int row, int col, ETableItem *eti if (eti->old_cursor_row != -1 && view_row != eti->old_cursor_row) e_table_item_redraw_row (eti, eti->old_cursor_row); - if (view_row == -1 || view_col == -1) { + if (view_row == -1) { e_table_item_leave_edit_(eti); eti->old_cursor_row = -1; return; |