Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nemo-qml-plugin-systemsettings] Support lock/unlock in udisks2monito…
…r. Contributes to JB#42526 If an external mass storage device (USB or SDCard) is encrypted, we need to allow the user the unlock (decrypt) the device from the mass storage UI. This commit adds unlock() (and lock()) methods to the partition model (and plumbs that to the udisks2monitor) to allow such a request to be performed.
- Loading branch information
Showing
10 changed files
with
246 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,8 @@ class Job : public QObject | |
Q_ENUM(Status) | ||
|
||
enum Operation { | ||
Lock, | ||
Unlock, | ||
Mount, | ||
Unmount, | ||
Format, | ||
|
Oops, something went wrong.