From a0bf55c6241102912e4e545d936b806a355b53e7 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 15 Oct 2009 20:18:40 +0200 Subject: Bug #411768 - Don't remove column by drag&drop out of a table header --- widgets/table/e-table-header-item.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index d5a02f491a..4bfa15f6ce 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; -- cgit