diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-08-03 02:21:45 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-08-03 02:21:45 +0800 |
commit | fb0a5ab40383987b3e0a7832b9601282acce05f4 (patch) | |
tree | 7668f822e5f2f332b682cca24a306ff7233d0017 /widgets/table | |
parent | 7b8d33db23a1c6331b5838281c8ed2b1348fbb66 (diff) | |
download | gsoc2013-evolution-fb0a5ab40383987b3e0a7832b9601282acce05f4.tar.gz gsoc2013-evolution-fb0a5ab40383987b3e0a7832b9601282acce05f4.tar.zst gsoc2013-evolution-fb0a5ab40383987b3e0a7832b9601282acce05f4.zip |
Changed all e_table_model_is_cell_editable calls in this file to be on the
2001-08-02 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c: Changed all e_table_model_is_cell_editable calls
in this file to be on the model column instead of the view column.
svn path=/trunk/; revision=11589
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table-item.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index ad1e9fef5a..d09465e68f 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1762,7 +1762,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) eti->click_count ++; eti->row_guess = row; - if ((!eti_editing(eti)) && e_table_model_is_cell_editable(eti->table_model, col, row)) { + if ((!eti_editing(eti)) && e_table_model_is_cell_editable(eti->table_model, cursor_col, row)) { e_table_item_enter_edit (eti, col, row); } @@ -2030,7 +2030,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) NULL); if (cursor_col >= 0 && cursor_row >= 0 && return_val && - (!eti_editing(eti)) && e_table_model_is_cell_editable(eti->table_model, model_to_view_col(eti, cursor_col), model_to_view_row(eti, cursor_row))) { + (!eti_editing(eti)) && e_table_model_is_cell_editable(eti->table_model, cursor_col, model_to_view_row (eti, cursor_row))) { e_table_item_enter_edit (eti, model_to_view_col(eti, cursor_col), model_to_view_row(eti, cursor_row)); } break; @@ -2090,7 +2090,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) gint col, row; row = model_to_view_row(eti, cursor_row); col = model_to_view_col(eti, cursor_col); - if (col != -1 && row != -1 && e_table_model_is_cell_editable(eti->table_model, col, row)) { + if (col != -1 && row != -1 && e_table_model_is_cell_editable(eti->table_model, cursor_col, row)) { e_table_item_enter_edit (eti, col, row); } } |