aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-14 15:07:37 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-14 15:07:37 +0800
commitfabd9d91ab1aee4a091ddcdd6e189bacfcd4a920 (patch)
tree5e6aee9da053b96ea5d155b841d3afd2744b0923 /widgets/table/e-cell-text.c
parentda4535cdc2b93c81060b38ac780757f243c53138 (diff)
downloadgsoc2013-evolution-fabd9d91ab1aee4a091ddcdd6e189bacfcd4a920.tar
gsoc2013-evolution-fabd9d91ab1aee4a091ddcdd6e189bacfcd4a920.tar.gz
gsoc2013-evolution-fabd9d91ab1aee4a091ddcdd6e189bacfcd4a920.tar.bz2
gsoc2013-evolution-fabd9d91ab1aee4a091ddcdd6e189bacfcd4a920.tar.lz
gsoc2013-evolution-fabd9d91ab1aee4a091ddcdd6e189bacfcd4a920.tar.xz
gsoc2013-evolution-fabd9d91ab1aee4a091ddcdd6e189bacfcd4a920.tar.zst
gsoc2013-evolution-fabd9d91ab1aee4a091ddcdd6e189bacfcd4a920.zip
Request the value of e_table_is_cell_editable of the model_col instead of
2000-06-14 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Request the value of e_table_is_cell_editable of the model_col instead of the view_col. * e-table-item.h: Slight style fixup. svn path=/trunk/; revision=3564
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r--widgets/table/e-cell-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 7fe9cc1815..c9260ad545 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -876,7 +876,7 @@ ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col,
break;
}
- if ((!edit_display) && e_table_model_is_cell_editable (ecell_view->e_table_model, view_col, row)) {
+ if ((!edit_display) && e_table_model_is_cell_editable (ecell_view->e_table_model, model_col, row)) {
e_table_item_enter_edit (text_view->cell_view.e_table_item_view, view_col, row);
ect_edit_select_all (text_view);
edit = text_view->edit;
@@ -908,7 +908,7 @@ ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col,
event->button.x -= 4;
event->button.y -= 1;
if ((!edit_display)
- && e_table_model_is_cell_editable (ecell_view->e_table_model, view_col, row)
+ && e_table_model_is_cell_editable (ecell_view->e_table_model, model_col, row)
&& event->type == GDK_BUTTON_RELEASE
&& event->button.button == 1) {
GdkEventButton button = event->button;