aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-07-05 22:10:56 +0800
committerChris Lahey <clahey@src.gnome.org>2001-07-05 22:10:56 +0800
commit7c1e139f0fdc88352c08d846987b8075ac318a2c (patch)
treefb979a342e5fc13b7886ebd9105ffb255600a643
parent67767447ce4521136298b7f949117f0fbb6593ab (diff)
downloadgsoc2013-evolution-7c1e139f0fdc88352c08d846987b8075ac318a2c.tar.gz
gsoc2013-evolution-7c1e139f0fdc88352c08d846987b8075ac318a2c.tar.zst
gsoc2013-evolution-7c1e139f0fdc88352c08d846987b8075ac318a2c.zip
Made it so that the drop marker can show up when dragging a new column to
2001-07-05 Christopher James Lahey <clahey@ximian.com> * 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
-rw-r--r--widgets/table/e-table-header-item.c2
1 files changed, 1 insertions, 1 deletions
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);