aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-shown.c
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-03-14 13:14:23 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-03-14 13:14:23 +0800
commit5b819c81ff5f75f7e79f174a4f507eef33bd65f0 (patch)
treee0bbd0ab2cb02f8370d4d5fe1fcddf94641fcb9d /my-evolution/e-summary-shown.c
parente88e730bb68dec5a445b0ea7d271c3e2c7508b26 (diff)
downloadgsoc2013-evolution-5b819c81ff5f75f7e79f174a4f507eef33bd65f0.tar.gz
gsoc2013-evolution-5b819c81ff5f75f7e79f174a4f507eef33bd65f0.tar.zst
gsoc2013-evolution-5b819c81ff5f75f7e79f174a4f507eef33bd65f0.zip
pass FALSE for expand to e_summary_shown_add_node. ditto,
2003-03-13 Mike Kestner <mkestner@ximian.com> * e-summary-preferences.c (fill_rdf_etable): pass FALSE for expand to e_summary_shown_add_node. * e-summary-shown.c (make_table): ditto, set_expanded_default to FALSE. (add_node): only call e_tree_node_set_expanded is expanded != default. * e-summary-weather.c (*_fill_etable): pass FALSE for expand to e_summary_shown_add_node. svn path=/trunk/; revision=20284
Diffstat (limited to 'my-evolution/e-summary-shown.c')
-rw-r--r--my-evolution/e-summary-shown.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/my-evolution/e-summary-shown.c b/my-evolution/e-summary-shown.c
index 98301059c1..8aa31f415b 100644
--- a/my-evolution/e-summary-shown.c
+++ b/my-evolution/e-summary-shown.c
@@ -374,7 +374,7 @@ add_clicked (GtkWidget *button,
for (iterator = list; iterator; iterator = iterator->next) {
ESummaryShownModelEntry *new_entry = iterator->data;
- e_summary_shown_add_node (shown, FALSE, new_entry, NULL, TRUE, NULL);
+ e_summary_shown_add_node (shown, FALSE, new_entry, NULL, FALSE, NULL);
}
g_list_free (list);
@@ -462,7 +462,7 @@ make_table (GHashTable *data_model,
data_model);
etmm = E_TREE_MEMORY (td->etm);
- e_tree_memory_set_expanded_default (etmm, TRUE);
+ e_tree_memory_set_expanded_default (etmm, FALSE);
td->root = e_tree_memory_node_insert (etmm, NULL, 0, NULL);
@@ -590,7 +590,8 @@ e_summary_shown_add_node (ESummaryShown *shown,
path = e_tree_memory_node_insert (etmm, parent, -1, data);
tree = e_tree_scrolled_get_tree (E_TREE_SCROLLED (td->etable));
- e_tree_node_set_expanded (tree, path, expanded);
+ if (e_tree_model_get_expanded_default (E_TREE_MODEL(etmm)) != expanded)
+ e_tree_node_set_expanded (tree, path, expanded);
entry->path = path;