Fix account branch in folder tree not being expanded by default
For Cyrus and other servers that puts all user folders under the Inbox, if the Inbox's special type changes, all children are removed and re-added. This ensures account paths auto expand whenever any child is added. This is sub-optimal if a new folder is added and the branch was manually closed, but that's a corner case. Fixes #92, see also #11.
This commit is contained in:
parent
cfc05a1f5b
commit
94809971ee
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ public class FolderList.AccountBranch : Sidebar.Branch {
|
|||
|
||||
public AccountBranch(Geary.Account account) {
|
||||
base(new Sidebar.Header(account.information.nickname),
|
||||
Sidebar.Branch.Options.NONE, normal_folder_comparator, special_folder_comparator);
|
||||
Sidebar.Branch.Options.AUTO_OPEN_ON_NEW_CHILD, normal_folder_comparator, special_folder_comparator);
|
||||
|
||||
this.account = account;
|
||||
user_folder_group = new SpecialGrouping(2, "", "tag-symbolic");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue