[PATCH] Sort the contents of the file system type combo box.
Chris Lumens
clumens at redhat.com
Tue Sep 23 20:53:41 UTC 2014
---
pyanaconda/ui/gui/spokes/custom.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index c500a1a..859dcf5 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -279,9 +279,13 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
(isinstance(obj, FS) or
obj.type in ["biosboot", "prepboot", "swap"]))
if supported_fs:
- actions.add_action(self._fsCombo.append_text, obj.name)
self._fs_types.append(obj.name)
+ # Display the file system types in alphabetical order.
+ self._fs_types.sort()
+ for ty in self._fs_types:
+ actions.add_action(self._fsCombo.append_text, ty)
+
actions.fire()
@property
--
1.9.3
More information about the anaconda-patches
mailing list