-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Looks good. On Wed, 16 Sep 2009, Joel Granados Moreno wrote:
Put the action buttons at the bottom of the screen (on top of the "Ok" and "Cancel") buttons so they similar to what gnome standard uses. * iw/partition_gui.py (getScreen): Change the order or the main customization screen. --- iw/partition_gui.py | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 3c67aa3..25e5de8 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -1427,7 +1427,8 @@ class PartitionWindow(InstallWindow): # operational buttons buttonBox = gtk.HButtonBox() - buttonBox.set_layout(gtk.BUTTONBOX_SPREAD) + buttonBox.set_spacing(10) + buttonBox.set_layout(gtk.BUTTONBOX_END) ops = ((_("_Create"), self.createCB), (_("_Edit"), self.editCB), @@ -1465,7 +1466,6 @@ class PartitionWindow(InstallWindow): vpaned.add1(frame) box = gtk.VBox(False, 5) - box.pack_start(buttonBox, False) sw = gtk.ScrolledWindow() sw.add(self.treeView) sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) @@ -1477,7 +1477,9 @@ class PartitionWindow(InstallWindow): self.toggleViewButton.set_active(not self.show_uneditable) self.toggleViewButton.connect("toggled", self.viewButtonCB) box.pack_start(self.toggleViewButton, False, False) - + box.pack_start(buttonBox, False) + box.pack_start(gtk.HSeparator(), False) + vpaned.add2(box) # XXX should probably be set according to height
- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqzDBYACgkQ5hsjjIy1VkljagCgvTaqJjYPCa5EzxvVd9PEa74K pz4AoNGaMLJyUCi2rguVRGHMC68trM6M =BESJ -----END PGP SIGNATURE----- _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list