From ab27aff72c64183166fc6207d2ef0142e1ab8c83 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 13 Jun 2009 15:07:00 -0400 Subject: 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. --- mail/em-folder-selection.c | 1 - 1 file changed, 1 deletion(-) (limited to 'mail/em-folder-selection.c') diff --git a/mail/em-folder-selection.c b/mail/em-folder-selection.c index 56c11bcfdf..5997eb6ca6 100644 --- a/mail/em-folder-selection.c +++ b/mail/em-folder-selection.c @@ -52,7 +52,6 @@ em_select_folder (EMFolderTreeModel *model, /* XXX Do we leak this reference? */ emft = (EMFolderTree *) em_folder_tree_new_with_model (model); - em_folder_tree_clone_expanded (emft); if (exclude) em_folder_tree_set_excluded_func (emft, exclude, user_data); -- cgit