Show
Ignore:
Timestamp:
05/05/08 15:16:26 (4 years ago)
Author:
rakshasa
Message:

* Initial seeding support added. Patch by Josef Drexler.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rtorrent/src/ui/element_download_list.cc

    r1050 r1058  
    7777                                  "{d.set_ignore_commands=0, print=\"Torrent set to heed commands.\"}," 
    7878                                  "{d.set_ignore_commands=1, print=\"Torrent set to ignore commands.\"}"); 
     79  m_bindings['B'-'@']= sigc::bind(sigc::mem_fun(*this, &ElementDownloadList::receive_command), 
     80                                  "branch=d.is_active=," 
     81                                  "{print=\"Cannot enable initial seeding on an active download.\"}," 
     82                                  "{d.set_connection_seed=initial_seed, print=\"Enabled initial seeding for the selected download.\"}"); 
    7983 
    8084  m_bindings['U']    = sigc::bind(sigc::mem_fun(*this, &ElementDownloadList::receive_command), "d.delete_tied=; print=\"Cleared tied to file association for the selected download.\"");