From 7c1e139f0fdc88352c08d846987b8075ac318a2c Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 5 Jul 2001 14:10:56 +0000 Subject: Made it so that the drop marker can show up when dragging a new column to 2001-07-05 Christopher James Lahey * e-table-header-item.c (ethi_drag_motion): Made it so that the drop marker can show up when dragging a new column to the leftmost position of the table header item. svn path=/trunk/; revision=10801 --- widgets/table/e-table-header-item.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets') diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index cbf81d3753..de61653099 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -558,7 +558,7 @@ ethi_drag_motion (GtkObject *canvas, GdkDragContext *context, col = ethi_find_col_by_x_nearest (ethi, x); - if (col == ethi->drag_col || col == ethi->drag_col + 1) { + if (ethi->drag_col != -1 && (col == ethi->drag_col || col == ethi->drag_col + 1)) { if (ethi->drag_col != -1) ethi_remove_destroy_marker (ethi); -- cgit v1.2.3