[geary] Fix account branch in folder tree not being expanded by default



commit 94809971eeda33c68032500d6dd9e08a2c25a583
Author: Michael Gratton <mike vee net>
Date:   Fri Sep 14 23:45:26 2018 +1000

    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.

 src/client/folder-list/folder-list-account-branch.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/folder-list/folder-list-account-branch.vala 
b/src/client/folder-list/folder-list-account-branch.vala
index 877fb852..42e09cc7 100644
--- a/src/client/folder-list/folder-list-account-branch.vala
+++ b/src/client/folder-list/folder-list-account-branch.vala
@@ -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");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]