diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-10-27 07:52:06 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-10-27 07:52:06 +0800 |
commit | 6450290c2082bdd938d3f8c5615714aea1127d1a (patch) | |
tree | ca0c2c8cbb6113fe55babc38799508bbfb1b828e /widgets/table/e-tree.c | |
parent | a590fb65bf76a69ba7236d1677a76ffa801d6b9b (diff) | |
download | gsoc2013-evolution-6450290c2082bdd938d3f8c5615714aea1127d1a.tar.gz gsoc2013-evolution-6450290c2082bdd938d3f8c5615714aea1127d1a.tar.zst gsoc2013-evolution-6450290c2082bdd938d3f8c5615714aea1127d1a.zip |
Chain the cursor_activated signal even if the row is -1.
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_cursor_activated): Chain the
cursor_activated signal even if the row is -1.
* e-tree.c (item_cursor_activated): Don't error out here if path
is NULL.
svn path=/trunk/; revision=14185
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r-- | widgets/table/e-tree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index 754be53e06..89bb65708d 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -537,10 +537,12 @@ static void item_cursor_activated (ETableItem *eti, int row, ETree *et) { ETreePath path = e_tree_table_adapter_node_at_row(et->priv->etta, row); - path = e_tree_sorted_view_to_model_path(et->priv->sorted, path); + if (path) + path = e_tree_sorted_view_to_model_path(et->priv->sorted, path); gtk_signal_emit (GTK_OBJECT (et), et_signals [CURSOR_ACTIVATED], row, path); + d(g_print("%s: Emitted CURSOR_ACTIVATED signal on row: %d and path: 0x%p\n", __FUNCTION__, row, path)); } static void |