mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 07:32:32 +00:00
* Moved http get's user agent stuff to the client. It now uses
"rtorrent/CLIENT_VERSION/LIBRARY_VERSION". * Using libcurl's timeout, set to 60 seconds, rather than in TrackerHttp. This should make libcurl try different IP's. * Minor cleanup of how file priorities are updated. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@594 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -67,6 +67,8 @@ WindowFileList::redraw() {
|
||||
m_canvas->print(55, pos, "Size");
|
||||
m_canvas->print(63, pos, "Pri");
|
||||
m_canvas->print(68, pos, "Cmpl");
|
||||
m_canvas->print(74, pos, "Encoding");
|
||||
m_canvas->print(84, pos, "Chunks");
|
||||
|
||||
++pos;
|
||||
|
||||
@@ -108,7 +110,7 @@ WindowFileList::redraw() {
|
||||
break;
|
||||
};
|
||||
|
||||
m_canvas->print(0, pos, "%c %s %6.1f %s %3d %s",
|
||||
m_canvas->print(0, pos, "%c %s %6.1f %s %3d %9s",
|
||||
range.first == *m_focus ? '*' : ' ',
|
||||
path.c_str(),
|
||||
(double)e.get_size() / (double)(1 << 20),
|
||||
@@ -116,6 +118,10 @@ WindowFileList::redraw() {
|
||||
done_percentage(e),
|
||||
e.path_list()->encoding().c_str());
|
||||
|
||||
m_canvas->print(84, pos, "%i - %i",
|
||||
e.get_chunk_begin(),
|
||||
e.get_chunk_end());
|
||||
|
||||
++range.first;
|
||||
++pos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user