aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-subset-variable.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-06-13 08:41:47 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-06-13 08:41:47 +0800
commit9de25e88aa7b0d125739fda6bbbfdb4ebe16f951 (patch)
tree2bd83c1e6a0e5726452abb3adb4c6d9657eb2684 /widgets/e-table/e-table-subset-variable.c
parent40adaa82b3d10b7f3ae1cdb4902db5e40fd0b9eb (diff)
downloadgsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar
gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.gz
gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.bz2
gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.lz
gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.xz
gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.zst
gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.zip
Removed the freeze/thaw stuff for the model. As Chris wisely pointed out,
2000-06-12 Federico Mena Quintero <federico@helixcode.com> * e-table-model.[ch]: Removed the freeze/thaw stuff for the model. As Chris wisely pointed out, having freeze/thaw on the model makes its state inconsistent from the perspective of the views. * e-table-sorted-variable.c: Do not check for a frozen model. * e-table-subset.c: Likewise. * e-table-subset-variable.c: Likewise. * e-table-example-1.c: Removed the ETableModel thaw handler. * e-table-example-2.c: Likewise. * e-table-simple.c: Likewise. * e-table-size-test.c: Likewise. * test-check.c: Likewise. * test-cols.c: Likewise. * test-table.c: Likewise. svn path=/trunk/; revision=3543
Diffstat (limited to 'widgets/e-table/e-table-subset-variable.c')
-rw-r--r--widgets/e-table/e-table-subset-variable.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/e-table/e-table-subset-variable.c b/widgets/e-table/e-table-subset-variable.c
index a8948c5e68..377b21c9ae 100644
--- a/widgets/e-table/e-table-subset-variable.c
+++ b/widgets/e-table/e-table-subset-variable.c
@@ -39,8 +39,8 @@ etssv_add (ETableSubsetVariable *etssv,
if (etss->map_table[i] >= row)
etss->map_table[i] ++;
etss->map_table[etss->n_map++] = row;
- if (!etm->frozen)
- e_table_model_row_inserted (etm, etss->n_map - 1);
+
+ e_table_model_row_inserted (etm, etss->n_map - 1);
}
static void
@@ -57,8 +57,8 @@ etssv_add_all (ETableSubsetVariable *etssv)
}
for (i = 0; i < rows; i++)
etss->map_table[etss->n_map++] = i;
- if (!etm->frozen)
- e_table_model_changed (etm);
+
+ e_table_model_changed (etm);
}
static gboolean
@@ -74,8 +74,8 @@ etssv_remove (ETableSubsetVariable *etssv,
if (etss->map_table[i] == row) {
memmove (etss->map_table + i, etss->map_table + i + 1, (etss->n_map - i - 1) * sizeof(int));
etss->n_map --;
- if (!etm->frozen)
- e_table_model_changed (etm);
+
+ e_table_model_changed (etm);
ret_val = TRUE;
break;
}