Closed
Bug 227407
Opened 21 years ago
Closed 21 years ago
option to execute external command for biff status
Categories
(SeaMonkey :: MailNews: Message Display, enhancement)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jochen, Assigned: sspitzer)
References
Details
Attachments
(1 file, 1 obsolete file)
9.10 KB,
application/x-xpinstall
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031128
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031128
Hi,
I'd like to execute an external command when new mail arrives or when no unread
mail is present. This would make it possible to integrate mozmail in my
windowmanager's biff
something like
mail.biff.notify = true
mail.biff.notify.command = "/usr/bin/biff %state"
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•21 years ago
|
||
Couldn't find a dupe, so confirming. (Bug 222838 is close but the reporter
there was mostly concerned with getting notification sounds working.)
See also bug 80439.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Reporter | ||
Comment 2•21 years ago
|
||
I browsed the source a little and found basically three possibilities to solve this:
o when the BiffState of the mini-mail DOM object is changed, an external program
could be invoked
o something similar to the OS integration for MacOS or Win (maybe as generic
integrator)
o maybe it's possible to trigger a javascript when the biff state changes
any suggestions on this?
Reporter | ||
Comment 3•21 years ago
|
||
ok, that's what I got so far. Quite generic and works for me.
The command that is executed is hard-wired so far, I'll make this configurable
and submit it to mozdev.org then.
Reporter | ||
Comment 4•21 years ago
|
||
ok, works for me now. the xul application gives you a new pref tab under
"advanced prefs -> biff" where you can define an external command to invoke
when the biff status changes. the string %s is replaced with on or off.
Attachment #137072 -
Attachment is obsolete: true
Reporter | ||
Comment 5•21 years ago
|
||
implemented the feature myself, so I'll drop this feature request
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 6•21 years ago
|
||
Nothing was checked into Mozilla - so "fixed" is the wrong resolution.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•21 years ago
|
||
->WORKSFORME
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → WORKSFORME
Comment 8•21 years ago
|
||
*** Bug 222838 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 9•21 years ago
|
||
I've modified the xpi meanwhile. the current version is available from my
homepage http://penguin-breeder.org/patches/download/biff.xpi
Updated•20 years ago
|
Product: Browser → Seamonkey
Component: MailNews: Notification → MailNews: Message Display
QA Contact: stephend → search
You need to log in
before you can comment on or make changes to this bug.
Description
•