[SCM] Installer for game data files branch, yaml, updated. 20ed34dd0bd423016cacc18bd442461cc02165a1

Jon Dowland jmtd at debian.org
Thu Sep 24 17:52:56 UTC 2009


The following commit has been merged in the yaml branch:
commit a69f8574913a665eba427c43cb3f48916c172424
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