[galleryCombo setDelegate:self];
[spinner startAnimation:self];
// Detach to a new thread and do the actual login/retrieval of gallery list
- [NSApplication detachDrawingThread: @selector(connect) toTarget: self withObject: nil];
+ [NSApplication detachDrawingThread: @selector(connect)
+ toTarget: self
+ withObject: nil];
[p release];
[pool release];
}
// Make sure we're not doing this for nothing
if ([anselController state] == TURAnselStateConnected &&
[[newGalleryName stringValue] length] > 0) {
- [NSApplication detachDrawingThread:@selector(newGallery:)
- toTarget:self
- withObject:[newGalleryName stringValue]];
+ [NSApplication detachDrawingThread: @selector(newGallery:)
+ toTarget: self
+ withObject: [newGalleryName stringValue]];
}
}
#pragma mark ExportPluginProtocol
-
// Initialize
- (id)initWithExportImageObj:(id <ExportImageProtocol>)obj
{
static NSString *ERR_DOMAIN = @"com.theupstairsroom.XMLConnection";
- (TURXMLConnection *)initWithXMLRPCRequest: (XMLRPCRequest *)request
- withCredentials:(NSDictionary *)credentials
+ withCredentials: (NSDictionary *)credentials
{
username = [[credentials objectForKey:@"username"] retain];
password = [[credentials objectForKey:@"password"] retain];
running = YES;
- connection = [[XMLRPCConnection alloc] initWithXMLRPCRequest:request
- delegate:self];
+ connection = [[XMLRPCConnection alloc] initWithXMLRPCRequest: request
+ delegate: self];
return self;
}