Ignore:
Timestamp:
11/25/08 17:06:10 (11 years ago)
Author:
Eoin
Message:

Fixed small issues with file progress and paused states with unmanaged torrents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/HaliteDialog.cpp

    r582 r634  
    107107                string torrentName = hal::to_utf8(torrent->name()); 
    108108                 
    109                 if (!hal::bittorrent().isTorrentActive(torrentName)) 
     109                if (!hal::bittorrent().is_torrent_active(torrentName)) 
    110110                { 
    111111                        SetDlgItemText(BTNPAUSE,L"Pause"); 
    112                         hal::bittorrent().resumeTorrent(torrentName); 
     112                        hal::bittorrent().resume_torrent(torrentName); 
    113113                } 
    114114                else 
    115115                { 
    116116                        SetDlgItemText(BTNPAUSE,L"Resume"); 
    117                         hal::bittorrent().pauseTorrent(torrentName); 
     117                        hal::bittorrent().pause_torrent(torrentName); 
    118118                } 
    119119                 
     
    125125{ 
    126126        if (hal::torrent_details_ptr torrent = hal::bittorrent().torrentDetails().focusedTorrent())  
    127                 hal::bittorrent().reannounceTorrent(hal::to_utf8(torrent->name())); 
     127                hal::bittorrent().reannounce_torrent(hal::to_utf8(torrent->name())); 
    128128} 
    129129 
Note: See TracChangeset for help on using the changeset viewer.