[SCM] Installer for game data files branch, gui, updated. 9092133f0b2589fd66ef16e6348f2c3989f9aa4c
Jon Dowland
jmtd at debian.org
Fri Sep 25 17:28:43 UTC 2009
The following commit has been merged in the gui branch:
commit 25a39c15a309d428158bc4d5c0cc2281365f16f7
Author: Jon Dowland <jmtd at debian.org>
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
More information about the Pkg-games-commits
mailing list