aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-04 21:24:01 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-04 21:24:01 +0800
commit314ca1477ca807dc1b082bf5cdf4e9328f6097c9 (patch)
tree96d418321aac9aa1e0582c435d789250ef0827e9 /widgets/table
parent7957a3085c1aabf7d7b3c6820a1d9eb496cc3a96 (diff)
downloadgsoc2013-evolution-314ca1477ca807dc1b082bf5cdf4e9328f6097c9.tar
gsoc2013-evolution-314ca1477ca807dc1b082bf5cdf4e9328f6097c9.tar.gz
gsoc2013-evolution-314ca1477ca807dc1b082bf5cdf4e9328f6097c9.tar.bz2
gsoc2013-evolution-314ca1477ca807dc1b082bf5cdf4e9328f6097c9.tar.lz
gsoc2013-evolution-314ca1477ca807dc1b082bf5cdf4e9328f6097c9.tar.xz
gsoc2013-evolution-314ca1477ca807dc1b082bf5cdf4e9328f6097c9.tar.zst
gsoc2013-evolution-314ca1477ca807dc1b082bf5cdf4e9328f6097c9.zip
Call cursor_activated as well.
2001-04-04 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (e_tree_selection_model_change_cursor): Call cursor_activated as well. svn path=/trunk/; revision=9176
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-tree-selection-model.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c
index 1854010fd7..30cbc5aa90 100644
--- a/widgets/table/e-tree-selection-model.c
+++ b/widgets/table/e-tree-selection-model.c
@@ -1091,9 +1091,14 @@ e_tree_selection_model_select_single_path (ETreeSelectionModel *etsm, ETreePath
void
e_tree_selection_model_change_cursor (ETreeSelectionModel *etsm, ETreePath path)
{
+ int row;
+
etsm->priv->cursor_path = path;
- e_selection_model_cursor_changed(E_SELECTION_MODEL(etsm), etsm_cursor_row_real(etsm), etsm->priv->cursor_col);
+ row = etsm_cursor_row_real(etsm);
+
+ e_selection_model_cursor_changed(E_SELECTION_MODEL(etsm), row, etsm->priv->cursor_col);
+ e_selection_model_cursor_activated(E_SELECTION_MODEL(etsm), row, etsm->priv->cursor_col);
}