[SCM] Installer for game data files branch, gui, updated. 9092133f0b2589fd66ef16e6348f2c3989f9aa4c

Jon Dowland jmtd at debian.org
Fri Sep 25 17:28:50 UTC 2009


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