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

Jon Dowland jmtd at debian.org
Thu Sep 24 17:53:05 UTC 2009


The following commit has been merged in the yaml branch:
commit 8290824035ec1235ef4ebf1f3cb97fee19f21358
Author: Jon Dowland <jmtd at debian.org>
Date:   Thu Sep 24 18:50:33 2009 +0100

    try to setup filechooser in page change callback

diff --git a/gdp.py b/gdp.py
index 6981c69..bfc9460 100755
--- a/gdp.py
+++ b/gdp.py
@@ -73,7 +73,6 @@ class View:
 					True))
 		treeview.connect("row-activated", lambda treeview,path,col:
 			self.window.set_current_page(self.window.get_current_page()+1))
-		self.setup_filechooser_page()
 		self.window.set_forward_page_func(self.forward_page_func, None)
 
 	def forward_page_func(self, current_page, data):
@@ -86,6 +85,7 @@ class View:
 		if na.has_key('type') and "copy" == na['type']:
 			# TODO: setup the next page, a file copy page.
 			print na
+			self.setup_filechooser_page()
 		else: # XXX: validation should live elsewhere
 			print "not a recognised action type :("
 		return current_page + 1

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list