* Change :rtorrent:state to an integer.

* Split up DownloadList::insert to get proper ordering of slot map
calls and variable initialization.

* Added filtering to ViewDownloads.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@675 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-04-26 21:23:37 +00:00
parent c5c9a1ddae
commit 8ae5e51a0f
11 changed files with 224 additions and 64 deletions
+3 -2
View File
@@ -163,6 +163,7 @@ main(int argc, char** argv) {
initialize_option_handler(control);
control->variable()->process_command("view_add = main");
control->variable()->process_command("view_filter = main,started");
control->variable()->process_command("view_sort_new = main,name");
control->variable()->process_command("view_sort_current = main,name");
@@ -170,8 +171,8 @@ main(int argc, char** argv) {
control->variable()->process_command("view_add = scheduler");
control->variable()->process_command("view_sort_new = scheduler,state_changed"); // add started?
control->variable()->process_command("view_sort_current = scheduler,state_changed");
// control->variable()->process_command("schedule = scheduler,10,10,download_scheduler=");
// control->variable()->process_command("schedule = scheduler,10,10,download_scheduler=");
// Move env and go through "try_import".
// if (!control->variable()->process_file("~/.rtorrent.rc"))