aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-16 02:18:40 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-16 02:18:40 +0800
commita0bf55c6241102912e4e545d936b806a355b53e7 (patch)
tree952e96207a9f7a7d8799b5c4352b0f148008abf8
parent79242432b23fe7def50b7119e61d8570a3558c1c (diff)
downloadgsoc2013-evolution-a0bf55c6241102912e4e545d936b806a355b53e7.tar.gz
gsoc2013-evolution-a0bf55c6241102912e4e545d936b806a355b53e7.tar.zst
gsoc2013-evolution-a0bf55c6241102912e4e545d936b806a355b53e7.zip
Bug #411768 - Don't remove column by drag&drop out of a table header
-rw-r--r--widgets/table/e-table-header-item.c4
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 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;