Improved the http progress display, includes truncated names, download

progress and 10 second delay on hiding.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@286 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-17 21:20:18 +00:00
parent f9975ae9f2
commit 78d3d78ef3
14 changed files with 254 additions and 29 deletions
+3 -1
View File
@@ -61,6 +61,8 @@ do_shutdown(ui::Control* c) {
std::mem_fun_ref(&core::Download::close));
}
start_shutdown = false;
}
void
@@ -124,7 +126,7 @@ main(int argc, char** argv) {
uiControl.get_display().adjust_layout();
while (!is_shutting_down || !torrent::get(torrent::SHUTDOWN_DONE)) {
if (start_shutdown && !is_shutting_down)
if (start_shutdown)
do_shutdown(&uiControl);
Timer::update();