Revision 9c64f30c pithos-macos/PithosObjectNodeInfoController.m
b/pithos-macos/PithosObjectNodeInfoController.m | ||
---|---|---|
67 | 67 |
[otherMetadataInspectorPane toggleCollapsedWithAnimation:NO]; |
68 | 68 |
} |
69 | 69 |
|
70 |
- (IBAction)downloadVersion:(id)sender { |
|
71 |
NSSavePanel *save = [NSSavePanel savePanel]; |
|
72 |
[save setNameFieldStringValue:((PithosObjectNode *)node).displayName]; |
|
73 |
int result = [save runModal]; |
|
74 |
if (result == NSOKButton) { |
|
75 |
NSURL *selectedFile = [save URL]; |
|
76 |
NSLog(@"SAVE: %@", selectedFile); |
|
77 |
} |
|
78 |
} |
|
79 |
|
|
70 | 80 |
@end |
Also available in: Unified diff