aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-table-adapter.c
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-06-12 21:35:46 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-06-12 21:35:46 +0800
commita37e4f4213fb62793ebb145aecc71c59b098434d (patch)
tree0fbff5ff62446cc68c1157b523c283375f5bea39 /widgets/table/e-tree-table-adapter.c
parent6bea76c294f9ccc4b4e293ade973e9370a89f30c (diff)
downloadgsoc2013-evolution-a37e4f4213fb62793ebb145aecc71c59b098434d.tar.gz
gsoc2013-evolution-a37e4f4213fb62793ebb145aecc71c59b098434d.tar.zst
gsoc2013-evolution-a37e4f4213fb62793ebb145aecc71c59b098434d.zip
guard against NULL strings don't add disabled column titles to the store.
2003-06-12 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (generate_layout): guard against NULL strings * e-table-config.c (create_global_store): don't add disabled column titles to the store. [44258] * e-tree-table-adapter.c (e_t_t_a_node_set_expanded): don't warn if we're trying to collapse a node that's not visible. * e-tree.c (et_connect_to_etta): don't connect to row_inserted and row_deleted. [43893] svn path=/trunk/; revision=21424
Diffstat (limited to 'widgets/table/e-tree-table-adapter.c')
-rw-r--r--widgets/table/e-tree-table-adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index 13635f4aa9..61b1c9dd0d 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -1027,7 +1027,7 @@ e_tree_table_adapter_node_set_expanded (ETreeTableAdapter *etta, ETreePath path,
node_t *node;
int row;
- if (!expanded && e_tree_model_node_is_root (etta->priv->source, path) && !etta->priv->root_visible)
+ if (!expanded && (!gnode || (e_tree_model_node_is_root (etta->priv->source, path) && !etta->priv->root_visible)))
return;
if (!gnode && expanded) {