aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-item.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-10 03:40:04 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-10 03:40:04 +0800
commit62ca9f5fd718312c9ce4af70c9ecd0f2ab2b5fcd (patch)
tree30c82ef33f58f86b26d70fb43299d423be2348b2 /widgets/e-table/e-table-item.c
parent4bbaf023cbc4e7b4b8da21de2bc13234ff54d236 (diff)
downloadgsoc2013-evolution-62ca9f5fd718312c9ce4af70c9ecd0f2ab2b5fcd.tar
gsoc2013-evolution-62ca9f5fd718312c9ce4af70c9ecd0f2ab2b5fcd.tar.gz
gsoc2013-evolution-62ca9f5fd718312c9ce4af70c9ecd0f2ab2b5fcd.tar.bz2
gsoc2013-evolution-62ca9f5fd718312c9ce4af70c9ecd0f2ab2b5fcd.tar.lz
gsoc2013-evolution-62ca9f5fd718312c9ce4af70c9ecd0f2ab2b5fcd.tar.xz
gsoc2013-evolution-62ca9f5fd718312c9ce4af70c9ecd0f2ab2b5fcd.tar.zst
gsoc2013-evolution-62ca9f5fd718312c9ce4af70c9ecd0f2ab2b5fcd.zip
Make right click select if the current row is not selected.
2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-selection-model.c, e-table-selection-model.h: Make right click select if the current row is not selected. svn path=/trunk/; revision=4658
Diffstat (limited to 'widgets/e-table/e-table-item.c')
-rw-r--r--widgets/e-table/e-table-item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-item.c b/widgets/e-table/e-table-item.c
index baee6586f7..19a146de25 100644
--- a/widgets/e-table/e-table-item.c
+++ b/widgets/e-table/e-table-item.c
@@ -1417,6 +1417,8 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
gnome_canvas_item_w2i (item, &e->button.x, &e->button.y);
if (!find_cell (eti, e->button.x, e->button.y, &col, &row, &x1, &y1))
return TRUE;
+
+ e_table_selection_model_maybe_do_something(eti->selection, row, col, 0);
gtk_signal_emit (GTK_OBJECT (eti), eti_signals [RIGHT_CLICK],
row, col, e, &return_val);