On 04/08/2013 10:22, Trane Francks wrote:
> On 8/4/13 10:13 AM +0900, Rufus wrote:
>> Trane Francks wrote:
> 
>>> Why can't some people recognize that other people have other preferences
>>> and/or work-flow requirements? ;-)
>>>
>>
>> ...yeah - but you're out in the cold, so it's time to light a fire.
> 
> Which I'm doing: I'm working with Thunderbird-specific growlnotify and 
> tweaking the code to work with SeaMonkey. I'm confident that I'll be 
> able to disable the pop-up XUL notifications in the SM prefs and leave 
> it up to the extension to talk with Growl. Test notifications already 
> work, so now it's 'only' a matter of figuring out exactly which flags to 
> monitor. Currently, turning off the XUL notifications turns off the 
> Growl notifications, too. Conversely, enabling SM's XUL notifications 
> supersedes the Growl notifications. LOL - I'll get there.

I haven't looked into this in detail but in principle you could
implement your own nsIAlertsService in javascript and make yours
override the built in service.

http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/components/alerts/nsIAlertsService.idl
http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/components/alerts/nsXULAlerts.cpp

You might want to read this change set to get a bit of background:
http://hg.mozilla.org/mozilla-central/rev/d068e438438d
https://hg.mozilla.org/mozilla-central/rev/c9732200552d

And the other patches in Bug 782211
<https://bugzilla.mozilla.org/show_bug.cgi?id=782211>

Phil

-- 
Philip Chee <[email protected]>, <[email protected]>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to