Add a new Transfers menu to allow pause all and resume all torrents

This commit is contained in:
Karan Thakkar
2016-10-14 15:46:31 +05:30
committed by Dan Flettre
parent 7cf1d96a80
commit d8c9014471
3 changed files with 38 additions and 0 deletions

View File

@@ -225,6 +225,8 @@ const dispatchHandlers = {
'showCreateTorrent': (paths) => controllers.torrentList().showCreateTorrent(paths),
'createTorrent': (options) => controllers.torrentList().createTorrent(options),
'toggleTorrent': (infoHash) => controllers.torrentList().toggleTorrent(infoHash),
'pauseAllTorrents': () => controllers.torrentList().pauseAllTorrents(),
'resumeAllTorrents': () => controllers.torrentList().resumeAllTorrents(),
'toggleTorrentFile': (infoHash, index) =>
controllers.torrentList().toggleTorrentFile(infoHash, index),
'confirmDeleteTorrent': (infoHash, deleteData) =>