diff options
author | xsmile | 2017-04-10 18:13:21 +0200 |
---|---|---|
committer | xsmile | 2017-04-10 18:13:21 +0200 |
commit | f5c0bd9fd68574b4fde920898ca16f8ee4514b7a (patch) | |
tree | d3a00ba55210fc2a4858cc3a2c9afee43fdbabb9 /ps-event-view_all.patch | |
parent | 1e361329df7798275282b491a58b38495d6e8679 (diff) | |
download | aur-f5c0bd9fd68574b4fde920898ca16f8ee4514b7a.tar.gz |
update
Diffstat (limited to 'ps-event-view_all.patch')
-rw-r--r-- | ps-event-view_all.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ps-event-view_all.patch b/ps-event-view_all.patch new file mode 100644 index 000000000000..6d38109c667d --- /dev/null +++ b/ps-event-view_all.patch @@ -0,0 +1,21 @@ +--- orig-096/src/main.cc 2015-09-03 21:03:30.000000000 +0200 ++++ rtorrent-0.9.6/src/main.cc 2017-04-09 14:47:56.000000000 +0200 +@@ -248,2 +249,5 @@ + (rpc::make_target(), ++ "method.insert = event.view.hide,multi|rlookup|static\n" ++ "method.insert = event.view.show,multi|rlookup|static\n" ++ + "method.insert = event.download.inserted,multi|rlookup|static\n" +--- orig-096/src/ui/element_download_list.cc 2015-09-03 21:03:30.000000000 +0200 ++++ rtorrent-0.9.6/src/ui/element_download_list.cc 2017-04-09 14:51:32.000000000 +0200 +@@ -219,5 +219,10 @@ + } + ++ std::string old_name = view() ? view()->name() : ""; ++ rpc::commands.call_catch("event.view.hide", rpc::make_target(), name, ++ "View hide event action failed: "); + set_view(*itr); ++ rpc::commands.call_catch("event.view.show", rpc::make_target(), old_name, ++ "View show event action failed: "); + } + |