quicksilver/Quicksilver — pull request #785 by pjrobertson (2012-03-31 17:15:46+00:00)
Title: Add keyboard shortcuts to the pref buttons - fixes #527

This adds ⌘I to the info button, ⌘R to the 'refresh' buttons (where they exist), ⌘- to the 'remove' buttons (where they exist) and ⌘+ to the 'add' menu button (where they exist)

The ⌘+ button brings up the 'add' menu in the catalog and triggers pref panes.

Since I was connecting buttons to iVars, I thought I may as well validate when the buttons are enabled as well.
The 'info' button is only enabled when a single item is clicked in all views. The remove and refresh buttons are disabled when no items are clicked.

For some reason it was not possible to set the key equivalents straight off in Interface Builder, they didn't seem to register, so it had to be done programmatically.