quicksilver/Quicksilver — pull request #1132 by skurfer (2012-09-21 13:55:35+00:00)
Title: Notification Center

This allows users to send Quicksilver's user notifications through Apple's new Notification Center, as discussed in #867.

Some decisions had to be made. Here are some comments on that:

* I invented a bundle ID for Notification Center. After my change in 325651c, we could just use "Notifications" as the identifier, since such an icon already exists in `/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources`, but it just isn't that descriptive. Note that since the bundle ID isn't real, I had to define said icon's location in `ResourceLocations.plist`.
* To prevent the new Notifier from appearing on 10.7 or older, there's a test in `QSHelpersPrefPane.m`. Ugly, but it works. The far more complicated alternative would be to implement NC as an internal plug-in and prevent it from loading on older OSes.
* We talked about making NC the default, but if we do that (in `QSDefaults.plist`), what will happen for 10.7 users? We could add more ugly conditional code to choose different defaults for different OSes.