Use user catalog displayname when displaying an account node
[pithos-macos] / pithos-macos / PithosContainerNode.m
index c144fd5..8336b31 100644 (file)
@@ -276,6 +276,7 @@ static NSImage *sharedIcon = nil;
                                     node.shared = shared;
                                     node.sharingAccount = sharingAccount;
                                     node.inheritChildrenUpdatedNotificationName = inheritChildrenUpdatedNotificationName;
+                                    node.pithosAccountManager = pithosAccountManager;
                                     if (children) {
                                         NSUInteger oldIndex = [children indexOfObject:node];
                                         if (oldIndex != NSNotFound) {
@@ -299,6 +300,7 @@ static NSImage *sharedIcon = nil;
                                 node.shared = shared;
                                 node.sharingAccount = sharingAccount;
                                 node.inheritChildrenUpdatedNotificationName = inheritChildrenUpdatedNotificationName;
+                                node.pithosAccountManager = pithosAccountManager;
                                 if (children) {
                                     NSUInteger oldIndex = [children indexOfObject:node];
                                     if (oldIndex != NSNotFound) {
@@ -319,6 +321,7 @@ static NSImage *sharedIcon = nil;
                                 node.shared = shared;
                                 node.sharingAccount = sharingAccount;
                                 node.inheritChildrenUpdatedNotificationName = inheritChildrenUpdatedNotificationName;
+                                node.pithosAccountManager = pithosAccountManager;
                                 if (children) {
                                     NSUInteger oldIndex = [children indexOfObject:node];
                                     if (oldIndex != NSNotFound) {