The following commit has been merged in the yaml branch:
commit 8290824035ec1235ef4ebf1f3cb97fee19f21358
Author: Jon Dowland <[email protected]>
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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to