aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-item.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>2000-04-11 08:07:41 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-04-11 08:07:41 +0800
commit901f107f262e3c1913e15de2e5a5cd0521077587 (patch)
tree982881b8d6aaaff55379d973b0831933f3596156 /widgets/table/e-table-header-item.c
parent3a9e9c65460375d9f8145513404d7e6ed8adc182 (diff)
downloadgsoc2013-evolution-901f107f262e3c1913e15de2e5a5cd0521077587.tar
gsoc2013-evolution-901f107f262e3c1913e15de2e5a5cd0521077587.tar.gz
gsoc2013-evolution-901f107f262e3c1913e15de2e5a5cd0521077587.tar.bz2
gsoc2013-evolution-901f107f262e3c1913e15de2e5a5cd0521077587.tar.lz
gsoc2013-evolution-901f107f262e3c1913e15de2e5a5cd0521077587.tar.xz
gsoc2013-evolution-901f107f262e3c1913e15de2e5a5cd0521077587.tar.zst
gsoc2013-evolution-901f107f262e3c1913e15de2e5a5cd0521077587.zip
Drop frozen count support from here. (ethi_start_drag): ditto.
2000-04-10 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_drag_motion): Drop frozen count support from here. (ethi_start_drag): ditto. * e-table-header.h: Kill frozen_count. svn path=/trunk/; revision=2385
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r--widgets/table/e-table-header-item.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 966ad257ad..9c76455d73 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -374,8 +374,6 @@ ethi_drag_motion (GtkObject *canvas, GdkDragContext *context,
int col;
col = ethi_find_col_by_x (ethi, x);
- if (col < ethi->eth->frozen_count)
- col = ethi->eth->frozen_count;
if (col != -1){
ethi_remove_destroy_marker (ethi);
@@ -430,8 +428,7 @@ ethi_drag_drop (GtkWidget *canvas,
int col;
col = ethi_find_col_by_x (ethi, x);
- if (col < ethi->eth->frozen_count)
- col = ethi->eth->frozen_count;
+
ethi_add_drop_marker (ethi, col);
if (col != -1) {
@@ -778,10 +775,7 @@ ethi_start_drag (ETableHeaderItem *ethi, GdkEvent *event)
GHashTable *arrows = g_hash_table_new (NULL, NULL);
ethi->drag_col = ethi_find_col_by_x (ethi, event->motion.x);
- if (ethi->drag_col < ethi->eth->frozen_count && ethi->drag_col >= 0){
- ethi->maybe_drag = FALSE;
- ethi->drag_col = -1;
- }
+
if (ethi->drag_col == -1)
return;