+
+ def open_file_browser(self):
+ dlg = FileOpenDialog(self.songPath)
+ dlg.connect(CHANGE, self.handle_file_browser_closed, dlg)
+ dlg.open()
+
+ def handle_file_browser_closed(self, dlg) :
+ if dlg.value and os.path.isfile(dlg.value):
+ self.songFile = dlg.value
+