mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 13:12:32 +00:00
* Added "d_delete_tied" command.
* Moved CommandScheduler into src/rpc. * Fixed a bug in the "download_list" command. * Partial cleanup of the tracker list. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@924 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -161,6 +161,7 @@ Download::create_info() {
|
||||
element->push_column("Priority:", te_variable_value("get_d_priority"));
|
||||
|
||||
element->push_column("State changed:", te_variable_value("get_d_state_changed", value_base::flag_timer | value_base::flag_elapsed));
|
||||
element->push_column("Connection type:", te_variable_string("get_d_connection_current"));
|
||||
|
||||
element->push_back("");
|
||||
element->push_column("Memory usage:", te_value(&torrent::ChunkManager::memory_usage, value_base::flag_mb), " MB");
|
||||
|
||||
@@ -223,10 +223,9 @@ ElementDownloadList::receive_clear_tied() {
|
||||
const std::string& tiedFile = rpc::call_command_d_string("get_d_tied_to_file", *m_view->focus());
|
||||
|
||||
if (!tiedFile.empty()) {
|
||||
// Move this into core?
|
||||
control->core()->delete_tied(*m_view->focus());
|
||||
rpc::call_command_d_void("d_delete_tied", *m_view->focus());
|
||||
|
||||
control->core()->push_log("Cleared tied to file association for download.");
|
||||
control->core()->push_log("Cleared tied to file association for the selected download.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@ ElementTrackerList::activate(display::Frame* frame, bool focus) {
|
||||
|
||||
m_window = new WTrackerList(m_download, &m_focus);
|
||||
m_window->set_active(true);
|
||||
m_window->set_focused(focus);
|
||||
|
||||
m_frame = frame;
|
||||
m_frame->initialize_window(m_window);
|
||||
|
||||
Reference in New Issue
Block a user