aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-model.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-12-10 15:36:51 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-12-10 15:36:51 +0800
commit48618eb6eb0d02a6bc74d19d0241ac6b0849d136 (patch)
treedf66b3707b394dd8737d579f04ec9a401eb2f9b4 /widgets/table/e-table-model.c
parent54e2b5022a8eca59e4aac0d5b0d3cb125d54c008 (diff)
downloadgsoc2013-evolution-48618eb6eb0d02a6bc74d19d0241ac6b0849d136.tar
gsoc2013-evolution-48618eb6eb0d02a6bc74d19d0241ac6b0849d136.tar.gz
gsoc2013-evolution-48618eb6eb0d02a6bc74d19d0241ac6b0849d136.tar.bz2
gsoc2013-evolution-48618eb6eb0d02a6bc74d19d0241ac6b0849d136.tar.lz
gsoc2013-evolution-48618eb6eb0d02a6bc74d19d0241ac6b0849d136.tar.xz
gsoc2013-evolution-48618eb6eb0d02a6bc74d19d0241ac6b0849d136.tar.zst
gsoc2013-evolution-48618eb6eb0d02a6bc74d19d0241ac6b0849d136.zip
fix this routine.
1999-12-09 Miguel de Icaza <miguel@gnu.org> * e-table-header.c (e_table_header_col_diff): fix this routine. 1999-12-04 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_event): Started drag and drop support. * e-table-item.c (eti_table_model_changed): The columns are controled by the Header, not by the TableModel. * e-table-header-item.c (ethi_draw): Fixed redraw logic to support arbitrary header positioning. * e-cell.h: Revamped e-cell interface. We now provide the model column and the view column to all methods (so that the methods can talk to the view and to the model at the same time). * e-table-item.c: Update to new API * e-cell-test.c: Update to new API 1999-12-03 Miguel de Icaza <miguel@gnu.org> * e-cell.c (e_cell_class_init): Provide emtpy methods for enter_edit, and leave_edit. * e-table-item.c: Killed draw cell. (eti_draw): Perform column mapping here. (e_table_item_leave_edit): ditto. (e_table_item_enter_edit): ditto. (eti_event): ditto. svn path=/trunk/; revision=1478
Diffstat (limited to 'widgets/table/e-table-model.c')
-rw-r--r--widgets/table/e-table-model.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/widgets/table/e-table-model.c b/widgets/table/e-table-model.c
index 60f762214f..9e397710ef 100644
--- a/widgets/table/e-table-model.c
+++ b/widgets/table/e-table-model.c
@@ -58,7 +58,16 @@ e_table_model_set_value_at (ETableModel *e_table_model, int col, int row, const
g_return_if_fail (e_table_model != NULL);
g_return_if_fail (E_IS_TABLE_MODEL (e_table_model));
- return ETM_CLASS (e_table_model)->set_value_at (e_table_model, col, row, data);
+ ETM_CLASS (e_table_model)->set_value_at (e_table_model, col, row, data);
+
+ gtk_signal_emit (GTK_OBJECT (e_table_model),
+ e_table_model_signals [MODEL_ROW_CHANGED], row);
+ gtk_signal_emit (GTK_OBJECT (e_table_model),
+ e_table_model_signals [MODEL_CELL_CHANGED], col, row);
+
+ /*
+ * Notice that "model_changed" is not emitted
+ */
}
gboolean