quicksilver/Shelf-qsplugin — pull request #3 by pjrobertson (2012-01-28 10:57:01+00:00)
Title: Ensure the shelf docks properly on relaunch

See [here](http://groups.google.com/group/blacktree-quicksilver/browse_thread/thread/1834663216b386ef/9060465d4cc132bc#9060465d4cc132bc) for more information.

Current behaviour: If you have the shelf set to dock, when you relaunch you can't hover over the edge of the screen with the mouse to make it pop back up.

This fix: upon a restart of Quicksilver, the shelf correctly docks on the side of the screen.

The fix: On quit, we need to check if the shelf window is visible (using `hidden`). If not, then we need to check if it `canFade` - i.e. it's docked.
Apparently a docked shelf window is visible according to Quicksilver, although the `hidden` method doesn't say so.

Confusing :)