def update_check(self, check, check_status): # If there are any errors, disable the save button self._saveButton.set_sensitive(not next(self.failed_checks, None)) return GUIDialog.update_check(self, check, check_status)
def __init__(self, user, groupDict, data): GUIDialog.__init__(self, data) self._user = user self._groupDict = groupDict