Modified:
trunk/SDK/PyFR/AppLauncherController.py
Log:
Add a default file (None) for the AppLaunchController. Also changed to
call waitDone, instead of popping the controller ourselves
Modified: trunk/SDK/PyFR/AppLauncherController.py
==============================================================================
--- trunk/SDK/PyFR/AppLauncherController.py (original)
+++ trunk/SDK/PyFR/AppLauncherController.py Thu Jan 24 07:17:33 2008
@@ -12,7 +12,7 @@
class AppLauncherController(PyFR.WaitController.WaitController):
- def initWithApp_file_(self, text, application, file):
+ def initWithApp_file_(self, text, application, file = None):
self.app = application
self.file = file
PyFR.WaitController.WaitController.initWithText_( self, text )
@@ -22,7 +22,7 @@
self.launchApp( self.app, self.file )
def FRWasShown(self):
- self.stack().popController()
+ self.waitDone()