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

@@ -278,6 +278,22 @@ function getMenuTemplate () {
}
]
},
{
label: 'Transfers',
submenu: [
{
label: 'Pause All',
click: () => windows.main.dispatch('pauseAllTorrents')
},
{
type: 'separator'
},
{
label: 'Resume All',
click: () => windows.main.dispatch('resumeAllTorrents')
}
]
},
{
label: 'Help',
role: 'help',