Revision 46b46b83 pithos-macos/PithosSubdirNode.m

b/pithos-macos/PithosSubdirNode.m
140 140
    }
141 141
}
142 142

  
143
- (void)setLimitedPithosObject:(ASIPithosObject *)aPithosObject {
144
    if (![pithosObject isEqualTo:aPithosObject]) {
145
        self.pithosObject.subdir = aPithosObject.subdir;
146
        self.pithosObject.name = aPithosObject.name;
147
        self.pithosObject.hash = aPithosObject.hash;
148
        self.pithosObject.objectHash = aPithosObject.objectHash;
149
        self.pithosObject.UUID = aPithosObject.UUID;
150
        self.pithosObject.bytes = aPithosObject.bytes;
151
        self.pithosObject.contentType = aPithosObject.contentType;
152
        self.pithosObject.lastModified = aPithosObject.lastModified;
153
        self.pithosObject.version = aPithosObject.version;
154
        self.pithosObject.versionTimestamp = aPithosObject.versionTimestamp;
155
        self.pithosObject.modifiedBy = aPithosObject.modifiedBy;
156
        self.pithosObject.sharedBy = aPithosObject.sharedBy;
157
        self.pithosObject.allowedTo = aPithosObject.allowedTo;
158
        if (!pithosNodeInfoController) {
159
            self.pithosObject.sharing = aPithosObject.sharing;
160
            self.pithosObject.publicURI = aPithosObject.publicURI;
161
            self.pithosObject = pithosObject;
162
        }
163
    }
164
}
165

  
143 166
#pragma mark -
144 167
#pragma mark ASIHTTPRequestDelegate
145 168

  
......
369 392
#pragma mark Actions
370 393

  
371 394
- (void)showPithosNodeInfo:(id)sender {
372
    if (!pithosNodeInfoController)
395
    if (!pithosNodeInfoController) {
373 396
        pithosNodeInfoController = [[PithosObjectNodeInfoController alloc] initWithPithosNode:self];
397
        [self refreshInfo];
398
    }
374 399
    [pithosNodeInfoController showWindow:sender];
375 400
    [[pithosNodeInfoController window] makeKeyAndOrderFront:sender];
376 401
    [NSApp activateIgnoringOtherApps:YES];

Also available in: Unified diff