mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 15:12:30 +00:00
* Use user-modifiable commands instead of slots for the 'on_*' events.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1070 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -98,7 +98,7 @@ DownloadList::activate(display::Frame* frame, bool focus) {
|
||||
m_frame = frame;
|
||||
|
||||
control->input()->push_back(&m_bindings);
|
||||
control->core()->download_list()->slot_map_erase()["0_download_list"] = "ui.unfocus_download=";
|
||||
rpc::commands.call("system.method.set_key", rpc::make_target(), rpc::create_object_list("event.download.erased", "0_download_list", "ui.unfocus_download="));
|
||||
|
||||
activate_display(DISPLAY_DOWNLOAD_LIST);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user