Changeset 884


Ignore:
Timestamp:
Sep 22, 2006, 3:34:04 AM (15 years ago)
Author:
livings124
Message:

Remove unnecessary code.

Location:
branches/nat-traversal/macosx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/nat-traversal/macosx/Controller.h

    r876 r884  
    176176- (void) attemptToStartMultipleAuto: (NSArray *) torrents;
    177177
    178 - (void) reloadInspectorSettings: (NSNotification *) notification;
    179 
    180178- (void) checkAutoImportDirectory;
    181179
  • branches/nat-traversal/macosx/Controller.m

    r881 r884  
    338338                    name: @"TorrentStoppedForRatio" object: nil];
    339339   
    340     //change that just impacts the inspector
    341     [nc addObserver: self selector: @selector(reloadInspectorSettings:)
    342                     name: @"TorrentSettingChange" object: nil];
    343    
    344340    //change that just impacts the dock badge
    345341    [nc addObserver: self selector: @selector(resetDockBadge:)
     
    636632    [self updateUI: nil];
    637633    [self applyFilter: nil];
    638     [fInfoController updateInfoStatsAndSettings];
    639634    [self updateTorrentHistory];
    640635}
     
    664659    [self updateUI: nil];
    665660    [self applyFilter: nil];
    666     [fInfoController updateInfoStatsAndSettings];
    667661    [self updateTorrentHistory];
    668662}
     
    690684    [self updateUI: nil];
    691685    [self applyFilter: nil];
    692     [fInfoController updateInfoStatsAndSettings];
    693686    [self updateTorrentHistory];
    694687}
     
    14061399    [self updateUI: nil];
    14071400    [self applyFilter: nil];
    1408     [fInfoController updateInfoStatsAndSettings];
    14091401    [self updateTorrentHistory];
    14101402}
     
    14511443        [self updateUI: nil];
    14521444        [self applyFilter: nil];
    1453         [fInfoController updateInfoStatsAndSettings];
    14541445        [self updateTorrentHistory];
    14551446    }
     
    14621453    [self updateUI: nil];
    14631454    [self applyFilter: nil];
    1464     [fInfoController updateInfoStatsAndSettings];
    14651455    [self updateTorrentHistory];
    14661456}
     
    14721462    [self updateUI: nil];
    14731463    [self applyFilter: nil];
    1474     [fInfoController updateInfoStatsAndSettings];
    14751464    [self updateTorrentHistory];
    14761465}
     
    14791468{
    14801469    [self applyFilter: nil];
    1481     [fInfoController updateInfoStatsAndSettings];
     1470    [fInfoController updateInfoStats];
     1471    [fInfoController updateInfoSettings];
    14821472   
    14831473    if ([fDefaults boolForKey: @"PlaySeedingSound"])
     
    15561546        }
    15571547    }
    1558 }
    1559 
    1560 - (void) reloadInspectorSettings: (NSNotification *) notification
    1561 {
    1562     [fInfoController updateInfoStatsAndSettings];
    15631548}
    15641549
  • branches/nat-traversal/macosx/InfoWindowController.h

    r880 r884  
    5757- (void) updateInfoForTorrents: (NSArray *) torrents;
    5858- (void) updateInfoStats;
    59 - (void) updateInfoStatsAndSettings;
     59- (void) updateInfoSettings;
    6060
    6161- (void) setNextTab;
  • branches/nat-traversal/macosx/InfoWindowController.m

    r880 r884  
    210210   
    211211    //update stats and settings
    212     [self updateInfoStatsAndSettings];
     212    [self updateInfoStats];
     213    [self updateInfoSettings];
    213214
    214215    //set file table
     
    283284}
    284285
    285 - (void) updateInfoStatsAndSettings
     286- (void) updateInfoSettings
    286287{
    287288    int numberSelected = [fTorrents count];
  • branches/nat-traversal/macosx/Torrent.m

    r880 r884  
    401401        fFinishedSeeding = NO;
    402402        fWaitToStart = NO;
    403        
    404         [[NSNotificationCenter defaultCenter] postNotificationName: @"TorrentSettingChange" object: self];
    405403    }
    406404}
Note: See TracChangeset for help on using the changeset viewer.