Changeset 2414


Ignore:
Timestamp:
Jul 19, 2007, 1:21:13 AM (15 years ago)
Author:
livings124
Message:

get mac build compiling again

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r2383 r2414  
    269269        {
    270270            //pause without actually stopping
    271             tr_setUseCustomUpload(fHandle, 1);
    272             tr_setUploadLimit(fHandle, 0);
    273            
    274             tr_setUseCustomDownload(fHandle, 1);
    275             tr_setDownloadLimit(fHandle, 0);
     271            tr_torrentEnableMaxSpeedUL(fHandle, 1);
     272            tr_torrentSetMaxSpeedUL(fHandle, 0);
     273           
     274            tr_torrentEnableMaxSpeedDL(fHandle, 1);
     275            tr_torrentSetMaxSpeedDL(fHandle, 0);
    276276           
    277277            if ([[NSFileManager defaultManager] movePath: [[self downloadFolder] stringByAppendingPathComponent: [self name]]
     
    688688- (void) updateSpeedSetting
    689689{
    690     tr_setUseCustomUpload(fHandle, fCheckUpload != NSMixedState);
    691     tr_setUploadLimit(fHandle, fCheckUpload == NSOnState ? fUploadLimit : -1);
    692    
    693     tr_setUseCustomDownload(fHandle, fCheckDownload != NSMixedState);
    694     tr_setDownloadLimit(fHandle, fCheckDownload == NSOnState ? fDownloadLimit : -1);
     690    tr_torrentEnableMaxSpeedUL(fHandle, fCheckUpload != NSMixedState);
     691    tr_torrentSetMaxSpeedUL(fHandle, fCheckUpload == NSOnState ? fUploadLimit : -1);
     692   
     693    tr_torrentEnableMaxSpeedDL(fHandle, fCheckDownload != NSMixedState);
     694    tr_torrentSetMaxSpeedDL(fHandle, fCheckDownload == NSOnState ? fDownloadLimit : -1);
    695695}
    696696
     
    757757       
    758758        //pause without actually stopping
    759         tr_setDownloadLimit(fHandle, 0);
    760         tr_setUploadLimit(fHandle, 0);
     759        tr_torrentEnableMaxSpeedUL(fHandle, 1);
     760        tr_torrentSetMaxSpeedUL(fHandle, 0);
     761       
     762        tr_torrentEnableMaxSpeedDL(fHandle, 1);
     763        tr_torrentSetMaxSpeedDL(fHandle, 0);
    761764       
    762765        if ([[NSFileManager defaultManager] movePath: [oldFolder stringByAppendingPathComponent: [self name]]
  • trunk/transmission.spec.in

    r2403 r2414  
    33%define release 1
    44
    5 Summary:   Transmission Bittorrent Client
     5Summary:   Transmission BitTorrent Client
    66Name:      %{name}
    77Version:   %{version}
Note: See TracChangeset for help on using the changeset viewer.