[evolution/gnome-2-28] **BUG #411768 - Drag and drop header columns



commit 405c9062cc6b6fa2c15dff903b2e92b22378151e
Author: Milan Crha <mcrha redhat com>
Date:   Mon Dec 14 09:09:25 2009 +0530

    **BUG #411768 - Drag and drop header columns
    
    Do not remove column by drag and drop out of a table header.

 widgets/table/e-table-header-item.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index b3c68be..25a8d93 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -748,10 +748,6 @@ ethi_drag_motion (GtkWidget *widget, GdkDragContext *context,
 static void
 ethi_drag_end (GtkWidget *canvas, GdkDragContext *context, ETableHeaderItem *ethi)
 {
-	if (context->action == 0) {
-		e_table_header_remove (ethi->eth, ethi->drag_col);
-		gnome_canvas_item_request_update(GNOME_CANVAS_ITEM(ethi));
-	}
 	ethi_remove_drop_marker (ethi);
 	ethi_remove_destroy_marker (ethi);
 	ethi->drag_col = -1;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]