Ignore:
Timestamp:
Oct 21, 2009, 10:20:43 PM (13 years ago)
Author:
livings124
Message:

update the time machine exclude list when the file is moved through rpc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9347 r9348  
    42504250            break;
    42514251       
     4252        case TR_RPC_TORRENT_MOVED:
     4253            [self performSelectorOnMainThread: @selector(rpcMovedTorrent:) withObject: torrent waitUntilDone: NO];
     4254            break;
     4255       
    42524256        case TR_RPC_SESSION_CHANGED:
    42534257            [fPrefsController performSelectorOnMainThread: @selector(rpcUpdatePrefs) withObject: nil waitUntilDone: NO];
     
    43094313}
    43104314
     4315- (void) rpcMovedTorrent: (Torrent *) torrent
     4316{
     4317    [torrent update];
     4318    [torrent updateTimeMachineExclude];
     4319   
     4320    if ([[fTableView selectedTorrents] containsObject: torrent])
     4321        [fInfoController updateInfoStats];
     4322   
     4323    [torrent release];
     4324}
     4325
    43114326@end
Note: See TracChangeset for help on using the changeset viewer.