aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selection-button.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-14 03:07:00 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-14 03:07:00 +0800
commitab27aff72c64183166fc6207d2ef0142e1ab8c83 (patch)
tree6b95a26dedf3ca26ae70f9a2ff3ea466e42763dc /mail/em-folder-selection-button.c
parent49ba34088bcdb9ab9cfae0c2b7fe11452fb60e24 (diff)
downloadgsoc2013-evolution-ab27aff72c64183166fc6207d2ef0142e1ab8c83.tar.gz
gsoc2013-evolution-ab27aff72c64183166fc6207d2ef0142e1ab8c83.tar.zst
gsoc2013-evolution-ab27aff72c64183166fc6207d2ef0142e1ab8c83.zip
Thought of a better way to copy folder tree state.
Revert the expanded tree model column and add a "selection"property to EMFolderTreeModel, which the sidebar sets. If set, all new EMFolderTree instances will automatically mimic its expanded and selected state.
Diffstat (limited to 'mail/em-folder-selection-button.c')
-rw-r--r--mail/em-folder-selection-button.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mail/em-folder-selection-button.c b/mail/em-folder-selection-button.c
index ecdccc0af7..933393ae80 100644
--- a/mail/em-folder-selection-button.c
+++ b/mail/em-folder-selection-button.c
@@ -256,7 +256,6 @@ folder_selection_button_clicked (GtkButton *button)
emft = (EMFolderTree *) em_folder_tree_new_with_model (priv->model);
- em_folder_tree_clone_expanded (emft);
em_folder_tree_set_multiselect (emft, priv->multiple_select);
em_folder_tree_set_excluded (
emft, EMFT_EXCLUDE_NOSELECT |