On Mar 2, 2006, at 4:58 PM, Fred B. wrote:
On 2/3/2006, at 20:42, Duane Johnson wrote:
How about supporting the new CocoaDialog 2.0 "bubble" dialog[1]? If it could be tied in to work with Growl, that would be a nice way to make a standard status information box with optional growl support.
You just pwn3d domenico! :p
I don't understand how CD could be "tied in to work with Growl", sorry.
CocoaDialog already has a notification system, is already packaged with TextMate, and is already in use by some bundles as a notification system. So it's a win/win for everyone if CocoaDialog were to support growl as an optional notification mechanism. Basically TextMate bundles could send their message to CocoaDialog and not care what happens after that.
Perhaps once the 'bubble' command is supported by the built-in CocoaDialog package, Allan could add 'Notification' as an output method (similar to how tooltip is now) to "pipe" the output of the command to the CocoaDialog "bubble --text" option. The only remaining piece to the puzzle then would be how we configure CocoaDialog from within TextMate (e.g. perhaps bubble gradient colors could be configurable, and of course growl support would be a CocoaDialog option).
On second thought... would forwarding to Growl be automatic if it's detected? Does Growl usually get detected by programs automatically? And do other programs just assume the user wants output sent to Growl if Growl is present on the system?
Since we already bundle CD (although a forked v1.x, but I’ll update it shortly), that could be a nice touch -- although CD does have an issue with multi-monitor setups, since it always use the main screen. So this should preferably be fixed first.
No to be picky but IMHO: Tool tips look like OS 7, CD bubbles like OS 9, Growl like OS X. ;)
I don't think it's picky to have an opinion. And I agree, anyway ;)
Duane Johnson (canadaduane) http://blog.inquirylabs.com/