diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-12-14 06:29:21 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-12-14 06:29:21 +0800 |
commit | f42cf43320589de1aaecd65f82be8a08ba67b7da (patch) | |
tree | 54aff66a2e755f258c7e444a6232aac96749dd69 /widgets | |
parent | 64380ead985593267ba6f394e268d26506aa6654 (diff) | |
download | gsoc2013-evolution-f42cf43320589de1aaecd65f82be8a08ba67b7da.tar gsoc2013-evolution-f42cf43320589de1aaecd65f82be8a08ba67b7da.tar.gz gsoc2013-evolution-f42cf43320589de1aaecd65f82be8a08ba67b7da.tar.bz2 gsoc2013-evolution-f42cf43320589de1aaecd65f82be8a08ba67b7da.tar.lz gsoc2013-evolution-f42cf43320589de1aaecd65f82be8a08ba67b7da.tar.xz gsoc2013-evolution-f42cf43320589de1aaecd65f82be8a08ba67b7da.tar.zst gsoc2013-evolution-f42cf43320589de1aaecd65f82be8a08ba67b7da.zip |
only return TRUE in the BUTTON_PRESS case if the node was expandable.
2000-12-13 Chris Toshok <toshok@helixcode.com>
* e-cell-tree.c (ect_event): only return TRUE in the BUTTON_PRESS
case if the node was expandable.
svn path=/trunk/; revision=6977
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-cell-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-cell-tree.c b/widgets/table/e-cell-tree.c index 510c993c1b..de535be0d5 100644 --- a/widgets/table/e-cell-tree.c +++ b/widgets/table/e-cell-tree.c @@ -318,8 +318,8 @@ ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, e_tree_model_node_set_expanded (tree_model, node, !e_tree_model_node_is_expanded(tree_model, node)); + return TRUE; } - return TRUE; } else if (event->button.x < (offset - INDENT_AMOUNT)) return FALSE; |