The message was being munged and it was overly long, grabbing attention from the drive lists. * iw/raid_dialog_gui.py (__init__): Reduce message length. Introduce some padding for the drive lists. The gtk reference suggests to use set_default_size instead of set_size_request http://www.pygtk.org/docs/pygtk/class-gtkwindow.html#method-gtkwindow--set-default-size --- iw/raid_dialog_gui.py | 33 ++++++++++++--------------------- 1 files changed, 12 insertions(+), 21 deletions(-) diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py index bb457a5..2e742e5 100644 --- a/iw/raid_dialog_gui.py +++ b/iw/raid_dialog_gui.py @@ -767,8 +767,8 @@ class RaidCloneDialog: self.parent = parent self.dialog = None - self.dialog = gtk.Dialog(_("Make RAID Device"), self.parent) - self.dialog.set_size_request(500, 400) + self.dialog = gtk.Dialog(_("Clone Drive Tool"), self.parent) + self.dialog.set_default_size(500, 200) gui.addFrame(self.dialog) self.dialog.add_button('gtk-cancel', 2) self.dialog.add_button('gtk-ok', 1) @@ -776,23 +776,14 @@ class RaidCloneDialog: # present list of drives as source vbox = gtk.VBox() - - lbl = gui.WrappingLabel(_("Clone Drive Tool\n\n" - "This tool allows you to significantly " - "reduce the amount of effort required " - "to setup RAID arrays. This tool " - "uses a source drive which has been " - "prepared with the desired partitioning " - "layout, and clones this layout onto other " - "similar sized drives. Then a RAID device " - "can be created.\n\n" - "NOTE: The source drive must have " - "partitions which are restricted to be on " - "that drive only, and can only contain " - "unused software RAID partitions. Other " - "partition types are not allowed.\n\n" - "EVERYTHING on the target drive(s) will be " - "destroyed by this process.")) + clnmessage = _("This tool clones the layout from a partitioned source " + "onto other similar sized drives. The source must have " + "partitions which are restricted to be on that drive " + "only, and can ONLY contain unused software RAID " + "partitions. EVERYTHING on the target drive(s) will " + "be destroyed.\n") + + lbl = gui.WrappingLabel(clnmessage) vbox.pack_start(lbl) box = gtk.HBox() @@ -803,7 +794,7 @@ class RaidCloneDialog: (sw, self.sourceView) = self.createDriveList(storage.disks) selection = self.sourceView.get_selection() selection.set_mode(gtk.SELECTION_SINGLE) - box.pack_start(sw) + box.pack_start(sw, padding=5) lbl = gtk.Label(_("Target Drive(s):")) lbl.set_alignment(0.0, 0.0) @@ -811,7 +802,7 @@ class RaidCloneDialog: (sw, self.targetView) = self.createDriveList(storage.disks) selection = self.targetView.get_selection() selection.set_mode(gtk.SELECTION_MULTIPLE) - box.pack_start(sw) + box.pack_start(sw, padding=5) frame = gtk.Frame(_("Drives")) frame.add(box) -- 1.6.4.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list