dia/dia-group-props-size.patch

25 lines
827 B
Diff
Raw Normal View History

Index: plug-ins/python/group_props.py
===================================================================
RCS file: /cvs/gnome/dia/plug-ins/python/group_props.py,v
retrieving revision 1.3
diff -u -p -r1.3 group_props.py
--- plug-ins/python/group_props.py 18 Jul 2004 17:45:58 -0000 1.3
+++ plug-ins/python/group_props.py 17 Aug 2005 22:29:14 -0000
@@ -86,14 +86,14 @@ class CPropsDialog :
box1.pack_start(separator, expand=0)
separator.show()
- box2 = gtk.VBox(spacing=10)
+ box2 = gtk.HBox(spacing=10)
box2.set_border_width(10)
box1.pack_start(box2, expand=0)
box2.show()
button = gtk.Button("Ok")
button.connect("clicked", self.on_ok)
- box2.pack_start(button)
+ box2.pack_start(button, padding=80, expand=1, fill=0)
button.set_flags(gtk.CAN_DEFAULT)
button.grab_default()
button.show()