aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-10-26 03:03:07 +0800
committerChris Lahey <clahey@src.gnome.org>2000-10-26 03:03:07 +0800
commite05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3 (patch)
treeab17331a05b44bf84a7e141d0e546ded937e978b /widgets
parent56704ecef46db55ce45f7bdf278cf75bee7655a2 (diff)
downloadgsoc2013-evolution-e05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3.tar
gsoc2013-evolution-e05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3.tar.gz
gsoc2013-evolution-e05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3.tar.bz2
gsoc2013-evolution-e05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3.tar.lz
gsoc2013-evolution-e05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3.tar.xz
gsoc2013-evolution-e05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3.tar.zst
gsoc2013-evolution-e05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3.zip
Made the column on the right click and click signals be the model column
2000-10-25 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Made the column on the right click and click signals be the model column instead of the view column. svn path=/trunk/; revision=6172
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 545e1185ad..0c6067ee86 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1515,7 +1515,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
return_val = FALSE;
gtk_signal_emit (GTK_OBJECT (eti), eti_signals [CLICK],
- row, col, e, &return_val);
+ row, view_to_model_col(eti, col), e, &return_val);
if (return_val)
return TRUE;
@@ -1553,7 +1553,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
e_table_selection_model_maybe_do_something(eti->selection, view_to_model_row(eti, row), view_to_model_col(eti, col), 0);
gtk_signal_emit (GTK_OBJECT (eti), eti_signals [RIGHT_CLICK],
- row, col, e, &return_val);
+ row, view_to_model_col(eti, col), e, &return_val);
break;
case 4:
case 5: