[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 5/6] Reorganize the Customization screen a little.
- From: Joel Granados Moreno <jgranado redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH 5/6] Reorganize the Customization screen a little.
- Date: Thu, 30 Jul 2009 16:19:17 +0200
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 c7d2354..9d1529b 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -1499,7 +1499,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),
@@ -1537,7 +1538,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)
@@ -1549,7 +1549,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
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]