cappuccino/cappuccino — pull request #1681 by saikat (2012-10-02 04:33:23+00:00)
Title: Make all validations by the framework be autovalidations

Any validation of toolbar items by the framework should count as an autovalidation since, otherwise, the application is not able to retain full control over the enabling and disabling of toolbar items. This pull request makes it so.

Additionally, the logic for _autovalidate and validateVisibleItems were basically the same, so this combines them.