mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
Merge pull request #430 from yate/peer-units
use whatever unit necessary in peer list info
This commit is contained in:
@@ -118,8 +118,8 @@ ElementPeerList::create_info() {
|
||||
element->push_back("");
|
||||
element->push_column("Snubbed:", te_command("if=$p.is_snubbed=,yes,no"));
|
||||
element->push_column("Done:", te_command("p.completed_percent="));
|
||||
element->push_column("Rate:", te_command("cat=$convert.kb=$p.up_rate=,\\ KB\\ ,$convert.kb=$p.down_rate=,\\ KB"));
|
||||
element->push_column("Total:", te_command("cat=$convert.kb=$p.up_total=,\\ KB\\ ,$convert.kb=$p.down_total=,\\ KB"));
|
||||
element->push_column("Rate:", te_command("cat=$convert.xb=$p.up_rate=,\\ ,$convert.xb=$p.down_rate="));
|
||||
element->push_column("Total:", te_command("cat=$convert.xb=$p.up_total=,\\ ,$convert.xb=$p.down_total="));
|
||||
|
||||
element->set_column_width(element->column_width() + 1);
|
||||
element->set_error_handler(new display::TextElementCString("No peer selected."));
|
||||
|
||||
Reference in New Issue
Block a user