Add 'Moving' state for torrents being relocated/moved

This is another indication to the user that something is happening
behind the scenes.
Uses the same icon/color as "Checking" status.
Torrents in the `Moving` state are considered as "Active". This should
prevent accidental program exit from the user and inhibit system sleep.
This commit is contained in:
sledgehammer999
2018-04-09 18:19:33 +03:00
parent 768262ae64
commit 565ffa7d1e
6 changed files with 24 additions and 3 deletions

View File

@@ -814,6 +814,7 @@ var TorrentsTable = new Class({
case "checkingUP":
case "queuedForChecking":
case "checkingResumeData":
case "moving":
state = "checking";
break;
case "unknown":
@@ -887,6 +888,9 @@ var TorrentsTable = new Class({
case "pausedUP":
status = "Completed";
break;
case "moving":
status = "Moving";
break;
case "missingFiles":
status = "Missing Files";
break;