Changeset 126
- Timestamp:
- Feb 11, 2006, 6:46:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r124 r126 145 145 fCompleted = 0; 146 146 fStat = nil; 147 [self updateUI: nil]; 147 148 fTimer = [NSTimer scheduledTimerWithTimeInterval: 1.0 target: self 148 selector: @selector( updateUI: ) userInfo: NULLrepeats: YES];149 selector: @selector( updateUI: ) userInfo: nil repeats: YES]; 149 150 [[NSRunLoop currentRunLoop] addTimer: fTimer 150 151 forMode: NSModalPanelRunLoopMode]; … … 155 156 fUpdateTimer = [NSTimer scheduledTimerWithTimeInterval: 60.0 156 157 target: self selector: @selector( checkForUpdateTimer: ) 157 userInfo: NULLrepeats: YES];158 userInfo: nil repeats: YES]; 158 159 } 159 160 … … 584 585 continue; 585 586 586 fCompleted++; 587 if( ![fWindow isKeyWindow] ) 588 fCompleted++; 587 589 [self notifyGrowl: [NSString stringWithUTF8String: 588 590 fStat[i].info.name]]; … … 651 653 (NSTableViewDropOperation) operation 652 654 { 653 [self application: NSApp openFiles: [[info draggingPasteboard] 654 propertyListForType: NSFilenamesPboardType]]; 655 [self application: NSApp openFiles: [[[info draggingPasteboard] 656 propertyListForType: NSFilenamesPboardType] 657 pathsMatchingExtensions: [NSArray arrayWithObject: @"torrent"]]]; 655 658 return YES; 656 659 }
Note: See TracChangeset
for help on using the changeset viewer.