X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/25459b1a617cb907d4bebad3a35f308b87fa795a..892497bedb6699cdb0b5c2669ace09ec741f0383:/src/app/widgets/home.py 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):