The following commit has been merged in the yaml branch:
commit d1aaf316d0cae4afb59ce61eff02d05833a06348
Author: Jon Dowland <[email protected]>
Date: Thu Sep 24 22:41:56 2009 +0100
expand attributes for FilePicker widgets
diff --git a/gdp.py b/gdp.py
index ff8743f..c6da215 100755
--- a/gdp.py
+++ b/gdp.py
@@ -51,11 +51,12 @@ class FilePicker(gtk.VBox):
self.entry = entry = gtk.Entry()
entry.connect("changed", lambda e: \
w.set_page_complete(
w.get_nth_page(w.get_current_page()), True))
+ hbox.pack_start(gtk.Label("Filename: "), expand=False)
hbox.pack_start(entry)
button = gtk.Button("Select File...")
button.connect("clicked", self.handle_file_button)
- hbox.pack_start(button)
- self.pack_start(hbox)
+ hbox.pack_start(button, expand=False)
+ self.pack_start(hbox, expand=False)
def handle_file_button(self,button):
chooser = gtk.FileChooserDialog(title="Select doom2.wad",
--
Installer for game data files
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits