def run(self): result = super(FolderDialog, self).run() if result == gtk.RESPONSE_OK: text = self.fcb1.get_filename() else: text = None return text