The following commit has been merged in the gui branch:
commit 25a39c15a309d428158bc4d5c0cc2281365f16f7
Author: Jon Dowland <[email protected]>
Date:   Thu Sep 24 17:43:59 2009 +0100

    handle file entry changing

diff --git a/gdp.py b/gdp.py
index 8c0d557..a05f481 100755
--- a/gdp.py
+++ b/gdp.py
@@ -61,6 +61,13 @@ class View:
                self.window.append_page(children[0])
                
self.builder.get_object("choose_file_button").connect("clicked", 
                        self.handle_file_button)
+               self.builder.get_object("choose_file_entry").connect("changed",
+                       self.file_entry_text_changed)
+
+       def file_entry_text_changed(self,entry):
+               text = entry.get_text()
+               widget = 
self.window.get_nth_page(self.window.get_current_page())
+               self.window.set_page_complete(widget, True)
 
        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

Reply via email to