Index: trunk/TypePadAtomAPI.m
===================================================================
--- trunk/TypePadAtomAPI.m (revision 35)
+++ trunk/TypePadAtomAPI.m (revision 40)
@@ -14,9 +14,9 @@
 
 - (void) newpost:(NSString *) to args:(NSMutableDictionary *) args {
-	NSLog(@"-(void) newpost:(NSString *)to - called\n");
+// NSLog(@"-(void) newpost:(NSString *)to - called\n");
 	NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
 	NSString *reqtype;
 	if ([to isEqualToString:@"weblog"] || [to isEqualToString:@"0"]) {
-		NSLog(@"set as weblog post type\n");
+// NSLog(@"set as weblog post type\n");
 		reqtype = @"POST";
 		[self setApiurl:[NSString stringWithFormat:@"%@weblog/blog_id=%@",@"http://www.typepad.com/t/atom/", [args objectForKey:@"destinationid"]]];
@@ -24,5 +24,5 @@
 	}
 	if ([to isEqualToString:@"gallery"] || [to isEqualToString:@"1"]) {
-		NSLog(@"set as gallery post type\n");
+// NSLog(@"set as gallery post type\n");
 		reqtype = @"POST";
 		[self setApiurl:[NSString stringWithFormat:@"%@gallery/set_id=%@", @"http://www.typepad.com/t/atom/", [args objectForKey:@"destinationid"]]];
@@ -30,5 +30,5 @@
 	}
 	if ([to isEqualToString:@"quickpost"] || [to isEqualToString:@"2"]) {
-		NSLog(@"set as quickpost post type\n");
+// NSLog(@"set as quickpost post type\n");
 		reqtype = @"POST";
 		[self setApiurl:[NSString stringWithFormat:@"%@weblog/blog_id=%@", @"http://www.typepad.com/t/atom/", [args objectForKey:@"destinationid"]]];
@@ -36,5 +36,5 @@
 	}
 	if ([to isEqualToString:@"weblogdiscovery"] || [to isEqualToString:@"3"]) {
-		NSLog(@"set as weblogdiscovery post type\n");
+// NSLog(@"set as weblogdiscovery post type\n");
 		reqtype = @"GET";
 		[self setApiurl:[NSString stringWithFormat:@"%@weblog", @"http://www.typepad.com/t/atom/"]];
@@ -42,5 +42,5 @@
 	} 
 	if ([to isEqualToString:@"categorydiscovery"] || [to isEqualToString:@"4"]) {
-		NSLog(@"set as categorydiscovery post type\n");
+// NSLog(@"set as categorydiscovery post type\n");
 		reqtype = @"GET";
 		[self setApiurl:[NSString stringWithFormat:@"%@categories/blog_id=%@", @"http://www.typepad.com/t/atom/", [args objectForKey:@"blog_id"] ]];
@@ -48,15 +48,15 @@
 	}
 	if ([to isEqualToString:@"gallerydiscovery"] || [to isEqualToString:@"5"]) {
-		NSLog(@"set as gallerydiscovery post type\n");
+// NSLog(@"set as gallerydiscovery post type\n");
 		reqtype = @"GET";
 		[self setApiurl:[NSString stringWithFormat:@"%@gallery", @"http://www.typepad.com/t/atom/"]];
 		[self weblog_discover];
 	} 
-	NSLog(@"Making request with request type %@\n", reqtype);
+// NSLog(@"Making request with request type %@\n", reqtype);
 	[self makerequest:reqtype];
 }
 
 - (NSString *) gallery_upload: (NSString *) file {
-	NSLog(@"- (NSString *) gallery_newitem - called");
+// NSLog(@"- (NSString *) gallery_newitem - called");
 	NSData *data = [NSData dataWithContentsOfFile:file];
 	NSString *encodedFile = [data base64Encoding];
@@ -67,5 +67,5 @@
 
 - (NSString *) weblog_upload: (NSString *) file {
-	NSLog(@"- (NSString *) weblog_upload - called");
+// NSLog(@"- (NSString *) weblog_upload - called");
 	NSData *data = [NSData dataWithContentsOfFile:file];
 	NSString *encodedFile = [data base64Encoding];
@@ -77,5 +77,5 @@
 
 - (NSString *) weblog_newpost: (NSString *) title content: (NSString *) content {
-	NSLog(@"- (NSString *) weblog_newpost - called");
+// NSLog(@"- (NSString *) weblog_newpost - called");
 	atomdata = [NSString stringWithFormat:@"<entry xmlns=\"http://purl.org/atom/ns#\"><title>%@</title><summary></summary><content mode=\"xml\"><div xmlns=\"http://www.w3.org/1999/xhtml\">%@</div></content>%@</entry>", title, content, [self weblog_postcategories]];
 	// NSLog(@"Atom feed:\n%@\n", atomdata);
@@ -84,5 +84,5 @@
 
 - (NSString *) weblog_discover {
-	NSLog(@"- (NSString *) weblog_newitem - called");
+// NSLog(@"- (NSString *) weblog_newitem - called");
 	/* atomdata = [NSString stringWithFormat:@"<entry xmlns=\"http://purl.org/atom/ns#\"><title>%@</title><summary></summary><content mode=\"xml\"><div xmlns=\"http://www.w3.org/1999/xhtml\">%@</div></content></entry>", title, content]; */
 	atomdata = @"";
Index: trunk/AtomApi.m
===================================================================
--- trunk/AtomApi.m (revision 35)
+++ trunk/AtomApi.m (revision 40)
@@ -149,5 +149,5 @@
 
 - (void) makerequest:(NSString *) reqtype {
-	NSLog(@"Making request to url '%@'\n", apiurl);
+// NSLog(@"Making request to url '%@'\n", apiurl);
 	NSURL *aURL = [NSURL URLWithString:apiurl];
 	[aURL URLHandleUsingCache:NO];
@@ -157,5 +157,5 @@
 	// set auth if we need it.
 	if ([self requiresAuth]) {
-		NSLog(@" XXX Auth required\n");
+// NSLog(@" XXX Auth required\n");
 		NSString *login = [self authuser];
 		NSString *password = [self authpass];
Index: trunk/PrefController.m
===================================================================
--- trunk/PrefController.m (revision 39)
+++ trunk/PrefController.m (revision 40)
@@ -6,5 +6,5 @@
 // 1
 - (id)init {
-	NSLog(@"PrefController - init -- called \n");
+// NSLog(@"PrefController - init -- called \n");
     if (self = [super init]) {
         [self setToolbar:[[NSToolbar alloc] initWithIdentifier:@"preferencePanes"]];
@@ -142,5 +142,5 @@
 		VoxCollection *voxcol = key;
 		[myCollections setObject:[voxcol collectionID] forKey:[NSString stringWithFormat:@"Collection: %@", [voxcol collectionTitle]]];
-		NSLog(@"Mapping collection '%@' to id '%@'", [voxcol collectionTitle], [voxcol collectionID]);
+// NSLog(@"Mapping collection '%@' to id '%@'", [voxcol collectionTitle], [voxcol collectionID]);
 		[vx_image_dropdown addItemWithTitle:[NSString stringWithFormat:@"Collection: %@", [voxcol collectionTitle]]];
 		[vx_text_dropdown addItemWithTitle:[NSString stringWithFormat:@"Collection: %@", [voxcol collectionTitle]]];
@@ -229,5 +229,5 @@
 
 - (void) windowWillClose:(id) sender {
-	NSLog(@"Window closed\n");
+// NSLog(@"Window closed\n");
 	[self save_generic];
 	if ([self service]) {
@@ -308,5 +308,5 @@
 
 - (void) save_typepad {
-	NSLog(@"- (void) save_typepad -- called\n");
+// NSLog(@"- (void) save_typepad -- called\n");
 	NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
 	if ([tp_image_dropdown numberOfItems] > 0) {
Index: trunk/LoginWindowController.m
===================================================================
--- trunk/LoginWindowController.m (revision 38)
+++ trunk/LoginWindowController.m (revision 40)
@@ -98,8 +98,9 @@
 	if ([tp addAccount:[usernamelist stringValue] pass:[password stringValue]]) {
 		[tp saveAccounts];
+		[tp appNotify:@"You are now connected to TypePad" title:@"Connected"];
 		[NSBundle loadNibNamed:@"TypePad.nib" owner:self];
 		[mywindow close];
 	} else {
-		NSRunAlertPanel(@"Alert", @"No blogs were loaded", @"OK", nil, nil);
+		NSRunAlertPanel(@"Alert", @"Login Failed", @"OK", nil, nil);
 	}
 }
@@ -109,8 +110,9 @@
 	if ([vx addAccount:[usernamelist stringValue] pass:[password stringValue]]) {
 		[vx saveAccounts];
+		[vx appNotify:@"You are now connected to Vox" title:@"Connected"];
 		[NSBundle loadNibNamed:@"Vox.nib" owner:self];
 		[mywindow close];
 	} else {
-		NSRunAlertPanel(@"Alert", @"No blogs were loaded", @"OK", nil, nil);
+		NSRunAlertPanel(@"Alert", @"Login Failed", @"OK", nil, nil);
 	}
 }
Index: trunk/Vox.m
===================================================================
--- trunk/Vox.m (revision 39)
+++ trunk/Vox.m (revision 40)
@@ -130,13 +130,9 @@
 - (void) dispatchAction: (NSPasteboard *) pb {
 	int actionType = [self handleTypes:pb];
-	switch (actionType) {
-		case 1:
-			[self handleTypeOne:[ntypes objectForKey:@"stringForType:_NSStringPboardType"]];
-			break;
-		case 3:
-			[self handleTypeThree:[pb propertyListForType:@"NSFilenamesPboardType"]];
-			break;
-		default:
-			NSLog(@"Something went horribly wrong.\n");
+	if (actionType == 3) {
+		[self handleTypeThree:[pb propertyListForType:@"NSFilenamesPboardType"]];
+	}
+	if (actionType == 1) {
+		[self handleTypeOne:[ntypes objectForKey:@"stringForType:_NSStringPboardType"]];
 	}
 }
@@ -144,5 +140,5 @@
 // text
 - (void) handleTypeOne: (NSString *) text {
-	NSLog(@"- (void) handleTypeOne: (NSString *) text - called\n");
+// NSLog(@"- (void) handleTypeOne: (NSString *) text - called\n");
 	NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
 	NSString *postloc = [userDefaults objectForKey:@"text destination type"];
@@ -160,5 +156,5 @@
 // image
 - (void) handleTypeThree: (NSArray *) list {
-	NSLog(@"- (void) handleTypeThree: (NSArray *) list - called\n");
+// NSLog(@"- (void) handleTypeThree: (NSArray *) list - called\n");
 	NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
 	NSString *postloc = [userDefaults objectForKey:@"vox image destination type"];
@@ -168,5 +164,5 @@
 			NSString *path; 
 			while( path = [enumerator nextObject] ) { 
-				NSLog([NSString stringWithFormat:@"Uploading file %@", path]);
+// NSLog([NSString stringWithFormat:@"Uploading file %@", path]);
 				VoxAtomApi *client = [[[VoxAtomApi alloc] init] autorelease];
 				[client setAuth:[self defaultaccount] pass:[self defaultAccountPass]];
@@ -180,5 +176,5 @@
 
 - (int) handleTypes: (NSPasteboard *) pb {
-	NSLog(@"- (int) handleTypes:(NSPasteboard *) pb - called\n");
+// NSLog(@"- (int) handleTypes:(NSPasteboard *) pb - called\n");
     NSArray *types = [self allowTypes];
 	unsigned int i, count = [types count];
@@ -193,5 +189,5 @@
 				totalcount++;
 				[ntypes setObject:[obj description] forKey:[NSString stringWithFormat:@"%@_%@",  methods[m], type]];
-				NSLog(@"%@ - %@ - %@\n",  methods[m], type, [obj description]);
+// NSLog(@"%@ - %@ - %@\n",  methods[m], type, [obj description]);
 			}
 		}
Index: trunk/ImageDragArea.m
===================================================================
--- trunk/ImageDragArea.m (revision 35)
+++ trunk/ImageDragArea.m (revision 40)
@@ -24,5 +24,5 @@
 
 - (BOOL)performDragOperation:(id <NSDraggingInfo>)sender {
-	NSLog(@"- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender - called\n");
+// NSLog$1(@"- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender - called\n");
 	TypePad *tp = [[[TypePad alloc] init] autorelease];
 	[tp dispatchAction:[sender draggingPasteboard]];
Index: trunk/TypePadController.m
===================================================================
--- trunk/TypePadController.m (revision 30)
+++ trunk/TypePadController.m (revision 40)
@@ -5,5 +5,5 @@
 
 - (void)awakeFromNib {
-	NSLog(@"TypePadController - (void)awakeFromNib - called\n");
+// NSLog(@"TypePadController - (void)awakeFromNib - called\n");
 }
 
Index: trunk/Preferences.nib/info.nib
===================================================================
--- trunk/Preferences.nib/info.nib (revision 38)
+++ trunk/Preferences.nib/info.nib (revision 40)
@@ -16,5 +16,5 @@
 		<string>485 586 470 119 0 0 1440 938 </string>
 		<key>7</key>
-		<string>311 316 470 122 0 0 1440 938 </string>
+		<string>485 585 470 122 0 0 1440 938 </string>
 		<key>8</key>
 		<string>485 586 470 119 0 0 1440 938 </string>
Index: trunk/VoxAtomApi.m
===================================================================
--- trunk/VoxAtomApi.m (revision 36)
+++ trunk/VoxAtomApi.m (revision 40)
@@ -26,5 +26,5 @@
 	}
 	if ([to isEqualToString:@"collection"] || [to isEqualToString:@"1"]) {
-		NSLog(@"set as weblog post type\n");
+// NSLog(@"set as weblog post type\n");
 		reqtype = @"POST";
 		[self setApiurl:[NSString stringWithFormat:@"http://www.vox.com/atom/svc=post/collection_id=%@", [args objectForKey:@"destinationid"]]];
@@ -32,5 +32,5 @@
 	}
 	if ([to isEqualToString:@"quickpost"] || [to isEqualToString:@"2"]) {
-		NSLog(@"set as quickpost post type\n");
+// NSLog(@"set as quickpost post type\n");
 		reqtype = @"POST";
 		[self setApiurl:[NSString stringWithFormat:@"http://www.vox.com/atom/collection_id=%@", [args objectForKey:@"destinationid"]]];
@@ -52,5 +52,5 @@
 
 - (NSString *) weblog_upload: (NSString *) file {
-	NSLog(@"- (NSString *) weblog_upload - called");
+// NSLog(@"- (NSString *) weblog_upload - called");
 	NSData *data = [NSData dataWithContentsOfFile:file];
 	NSString *encodedFile = [data base64Encoding];
@@ -61,5 +61,5 @@
 
 - (NSString *) weblog_newpost: (NSString *) title content: (NSString *) content {
-	NSLog(@"- (NSString *) weblog_newpost - called");
+// NSLog(@"- (NSString *) weblog_newpost - called");
 	atomdata = [NSString stringWithFormat:@"<entry xmlns=\"http://purl.org/atom/ns#\"><title>%@</title><summary></summary><content mode=\"xml\"><div xmlns=\"http://www.w3.org/1999/xhtml\">%@</div></content></entry>", title, content];
 	return atomdata;
Index: trunk/VoxRoundedView.m
===================================================================
--- trunk/VoxRoundedView.m (revision 36)
+++ trunk/VoxRoundedView.m (revision 40)
@@ -45,5 +45,5 @@
 	 NSPasteboard *pboard = [sender draggingPasteboard];
 	 NSArray *filenames = [pboard propertyListForType:NSFilenamesPboardType];
-	 NSLog(@"draggingEntered: filenames: %@\n", [filenames description]);
+// NSLog$1(@"draggingEntered: filenames: %@\n", [filenames description]);
 	 */
 	
