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:
Chris Toshok
2000-12-13 22:29:21 +00:00
committed by Chris Toshok
parent 64380ead98
commit f42cf43320

View File

@ -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;