quicksilver/Shelf-qsplugin — pull request #2 by pjrobertson (2011-11-28 23:50:49+00:00)
Title: Fixes #592 - display shelf on relaunch (if previously visible)

I re-added the observer for QSApplicationDidFinishLaunchingNotification that I'd previously taken out

I also added an observer that watches the QSEventNotification "QSQuicksilverWillQuitEvent"

A few things:

* I tried setting the observer object in -init to `@"QSQuicksilverWillQuitEvent"` but this just meant the method never got called. Not sure why.
* There seems to be a bug in QSDockingwindow.m:187 (`orderFrontHidden`). Since if I dock the shelf, make it visible, then quit QS (sets QSGeneralShelfIsVisible to YES) then it doesn't display on relaunch. Nothing's changed in the code here (QSDockingWindow.m), so I'm not sure why. It seems like it's previously worked for the user that reported #592 to me.