[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 1/1] New is inconsistent in current main part screen.
- From: Joel Granados Moreno <jgranado redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH 1/1] New is inconsistent in current main part screen.
- Date: Fri, 24 Jul 2009 19:43:58 +0200
* iw/partition_gui.py (makepartCB, getScreen, newCB): Change newCB to
makepartCB and call it 'Partition'. Its consistent with what the LVM
and RAID buttons do.
---
iw/partition_gui.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 847ea2c..684d771 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -970,7 +970,7 @@ class PartitionWindow(InstallWindow):
self.diskStripeGraph.selectSlice(device)
- def newCB(self, widget):
+ def makepartCB(self, widget):
device = self.storage.newPartition(fmt_type=self.storage.defaultFSType,
size=200)
self.editPartition(device, isNew=1)
@@ -1361,9 +1361,9 @@ class PartitionWindow(InstallWindow):
buttonBox = gtk.HButtonBox()
buttonBox.set_layout(gtk.BUTTONBOX_SPREAD)
- ops = ((_("Ne_w"), self.newCB),
- (_("_Edit"), self.editCB),
+ ops = ((_("_Edit"), self.editCB),
(_("_Delete"), self.deleteCB),
+ (_("_Partition"), self.makepartCB),
(_("Re_set"), self.resetCB),
(_("R_AID"), self.makeraidCB),
(_("_LVM"), self.makeLvmCB))
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]