quicksilver/Quicksilver — pull request #672 by pjrobertson (2012-01-31 18:14:27+00:00)
Title: Validate the 'Show source in catalog' action so it's only available for objects actually in the catalog

A nice bug for you all here:

* Enable the 'Show source in catalog' action
* type any text in the 1st pane "hello123"
* Tab to the 2nd pane and note that 'show source in catalog' is a possible action
* Perform the action, and watch QS open the catalog prefs then crash :)

This change:

* Adds a 'validatesObjects:YES' bool to the action in the Info.plist (sorry for it looking like everything got changed)
* checks whether the dObject is in the catalog in the `validActionsForDirectObject` method and enables the action depending on the result