[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/4] Show unknown partitions as "Unknown" in partition editor.



Show unknown partition types as "Unknown" instead of "None" in the
partition editor window.
---
 iw/partition_gui.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 9968f07..8215dc4 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -771,7 +771,7 @@ class PartitionWindow(InstallWindow):
                         self.tree[iter]['Format'] = self.checkmark_pixbuf
                     self.tree[iter]['IsFormattable'] = format.formattable
                 else:
-                    ptype = _("None")
+                    ptype = _("Unknown")
                     self.tree[iter]['IsFormattable'] = False
 
 		if array.minor is not None:
@@ -925,7 +925,7 @@ class PartitionWindow(InstallWindow):
                     if format and format.type:
                         ptype = format.name
                     else:
-                        ptype = _("None")
+                        ptype = _("Unknown")
                 if part.type & parted.PARTITION_FREESPACE:
                     devname = _("Free")
                 else:
-- 
1.6.2.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]