Changeset 2295
- Timestamp:
- Jul 5, 2007, 1:44:01 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r2294 r2295 12 12 + Overlay when dragging torrent files, URLs, and data files onto window 13 13 + Ability to set an amount of time to consider a transfer stalled 14 + Progress bar displays more information14 + More progress bar colors 15 15 + Various smaller interface improvements 16 16 - GTK: -
trunk/macosx/Controller.h
r2270 r2295 200 200 - (void) checkAutoImportDirectory; 201 201 202 - (void) beginCreateFile: (NSNotification *) notification; 203 202 204 - (void) sleepCallBack: (natural_t) messageType argument: (void *) messageArgument; 203 205 -
trunk/macosx/Controller.m
r2284 r2295 421 421 [nc addObserver: self selector: @selector(updateDockBadge:) 422 422 name: @"DockBadgeChange" object: nil]; 423 424 //open newly created torrent file 425 [nc addObserver: self selector: @selector(beginCreateFile:) 426 name: @"BeginCreateTorrentFile" object: nil]; 423 427 424 428 //open newly created torrent file … … 2087 2091 } 2088 2092 2093 - (void) beginCreateFile: (NSNotification *) notification 2094 { 2095 if (![fDefaults boolForKey: @"AutoImport"]) 2096 return; 2097 2098 NSString * location = [notification object], 2099 * path = [fDefaults stringForKey: @"AutoImportDirectory"]; 2100 2101 if (location && path && [[[location stringByDeletingLastPathComponent] stringByExpandingTildeInPath] 2102 isEqualToString: [path stringByExpandingTildeInPath]]) 2103 [fAutoImportedNames addObject: [location lastPathComponent]]; 2104 } 2105 2089 2106 - (int) numberOfRowsInTableView: (NSTableView *) tableview 2090 2107 { -
trunk/macosx/CreatorWindowController.m
r2266 r2295 234 234 [fDefaults setObject: [fLocation stringByDeletingLastPathComponent] forKey: @"CreatorLocation"]; 235 235 236 [[NSNotificationCenter defaultCenter] postNotificationName: @"BeginCreateTorrentFile" object: fLocation userInfo: nil]; 236 237 tr_makeMetaInfo(fInfo, [fLocation UTF8String], [trackerString UTF8String], [[fCommentView string] UTF8String], 237 238 [fPrivateCheck state] == NSOnState);
Note: See TracChangeset
for help on using the changeset viewer.