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
This commit is contained in:
committed by
Chris Toshok
parent
64380ead98
commit
f42cf43320
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user