Changeset 1045 for trunk


Ignore:
Timestamp:
Oct 31, 2006, 7:29:38 PM (16 years ago)
Author:
livings124
Message:

better auto importing of incomplete files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r1044 r1045  
    15751575            //import only actually happened if the torrent array is larger
    15761576            if (oldCount < [fTorrents count])
     1577            {
    15771578                [GrowlApplicationBridge notifyWithTitle: NSLocalizedString(@"Torrent File Auto Added",
    15781579                    "Growl notification title") description: file
    15791580                    notificationName: GROWL_AUTO_ADD iconData: nil priority: 0 isSticky: NO clickContext: nil];
     1581            }
     1582            else
     1583                [fAutoImportedNames removeObjectIdenticalTo: file]; //failed to import, possibly because not fully downloaded
    15801584        }
    15811585    }
     
    15841588}
    15851589
    1586 - (int) numberOfRowsInTableView: (NSTableView *) t
     1590- (int) numberOfRowsInTableView: (NSTableView *) tableview
    15871591{
    15881592    return [fDisplayedTorrents count];
Note: See TracChangeset for help on using the changeset viewer.