Right now we're only putting the sentence about being able to reuse partitions into the new page of the accordion if there are recognized roots. However, it's possible to have fully reusable partitions outside of a root. This patch points out that possibility. --- pyanaconda/ui/gui/spokes/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index d04eda9..18241b8 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -459,7 +459,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker): page = CreateNewPage(translated_new_install_name(), self.on_create_clicked, self._change_autopart_type, - partitionsToReuse=bool(ui_roots)) + partitionsToReuse=bool(ui_roots) or bool(self.unusedDevices)) self._accordion.addPage(page, cb=self.on_page_clicked)
self._partitionsNotebook.set_current_page(NOTEBOOK_LABEL_PAGE)
On Thu, 2014-05-29 at 17:05 -0400, Chris Lumens wrote:
Right now we're only putting the sentence about being able to reuse partitions into the new page of the accordion if there are recognized roots. However, it's possible to have fully reusable partitions outside of a root. This patch points out that possibility.
pyanaconda/ui/gui/spokes/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index d04eda9..18241b8 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -459,7 +459,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker): page = CreateNewPage(translated_new_install_name(), self.on_create_clicked, self._change_autopart_type,
partitionsToReuse=bool(ui_roots))
partitionsToReuse=bool(ui_roots) or bool(self.unusedDevices)) self._accordion.addPage(page, cb=self.on_page_clicked) self._partitionsNotebook.set_current_page(NOTEBOOK_LABEL_PAGE)
ACK.
anaconda-patches@lists.fedorahosted.org