Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect protected devices in custom spoke (#1052883)
A protected partition may be shown in custom, but it should not be possible to remove it. This makes sure that the remove button is set to the mountpoint's state when the page header is clicked. Make sure the 'delete all' on other partitions of the disk don't delete the protected partition by checking in _destroy_device, also exit early if there was a failure, it doesn't seem like a good idea to continue with the rest of the method if there was an error. Also make sure the protected device cannot be resized by making the _sizeEntry insensitive. Resolves: rhbz#1052883 (cherry picked from commit 55134c1) Related: rhbz#1196721
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 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