mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-10 16:19:23 +00:00
* Added ^E for setting 'create/resize queued' on files in a torrent.
* Minor cleanup of the API. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1030 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -93,9 +93,11 @@ element_file_list_create_info() {
|
||||
element->push_back("");
|
||||
|
||||
element->push_column("Size:", te_command("if=$fi.is_file=,$to_xb=$f.get_size_bytes=,---"));
|
||||
|
||||
element->push_column("Chunks:", te_command("cat=$f.get_completed_chunks=,\" / \",$f.get_size_chunks="));
|
||||
element->push_column("Range:", te_command("cat=$f.get_range_first=,\" - \",$f.get_range_second="));
|
||||
element->push_back("");
|
||||
|
||||
element->push_column("Queued:", te_command("cat=\"$if=$f.is_create_queued=,create\",\" \",\"$if=$f.is_resize_queued=,resize\""));
|
||||
|
||||
element->set_column_width(element->column_width() + 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user