X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/63f3b77711f17de3cd3515d1a97f566438c551a7..7a997df736f92a74b64450f23c70cf4547721506:/src/app/widgets/home.py?ds=inline diff --git a/src/app/widgets/home.py b/src/app/widgets/home.py index e1e09f1..6d9d7d5 100755 --- a/src/app/widgets/home.py +++ b/src/app/widgets/home.py @@ -88,9 +88,15 @@ class Home(Table) : def _initLocalListeners(self) : self.browseButton.connect(CLICK, self.open_file_browser) - self.quitButton.connect(CLICK, self._exitHome) + self.quitButton.connect(CLICK, self._exitApp) + self.playButton.connect(CLICK, self._exitHome) + + def _exitApp(self, data=None) : + self.returnValue = False + self.send(QUIT) def _exitHome(self, data=None) : + self.returnValue = True self.send(QUIT) def createLabel(self,text,font = None):