Fix assertion when gmail labels nest; fix #6304
We want to use the normal folder comparator by default, and the special comparator only in the root level.
This commit is contained in:
parent
e8c0cab8e8
commit
c4250b826c
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ public class FolderList : Sidebar.Tree {
|
|||
|
||||
public AccountBranch(Geary.Account account) {
|
||||
base(new Sidebar.Grouping(account.information.nickname, new ThemedIcon("emblem-mail")),
|
||||
Sidebar.Branch.Options.NONE, special_folder_comparator);
|
||||
Sidebar.Branch.Options.NONE, normal_folder_comparator, special_folder_comparator);
|
||||
|
||||
this.account = account;
|
||||
user_folder_group = new Sidebar.Grouping("",
|
||||
|
|
@ -26,7 +26,7 @@ public class FolderList : Sidebar.Tree {
|
|||
|
||||
account.information.notify["nickname"].connect(on_nicknamed_changed);
|
||||
|
||||
graft(get_root(), user_folder_group, normal_folder_comparator);
|
||||
graft(get_root(), user_folder_group);
|
||||
}
|
||||
|
||||
~AccountBranch() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue