1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-08-13 15:53:47 -04:00
Go to file
foudfou 6b4fd546d2 cleaner fix to binding (unload eventListeners) problem
« We need a separate namespace for the chrome because the chrome namespace
objects are repeated for each window, while the module namespace objects are
unique for all windows. » see:
https://developer.mozilla.org/en/XUL_School/JavaScript_Object_Management
Otherwise, by using firetray.Main=, we would be re-defining it with each
window, and for *all* other windows. So that, by closing the last window, we'd
remove objects attached to it (like the 'window' object), thus leaving other's
references pending. See:
https://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/e89e9c2a834ff2b6#
2011-12-29 23:49:06 +01:00
src cleaner fix to binding (unload eventListeners) problem 2011-12-29 23:49:06 +01:00
testing * another way to preserve unload eventListeners 2011-12-29 21:15:54 +01:00
.gitignore modifired .gitignore 2011-07-03 20:06:15 +02:00
README.md update README/TODO about disbabling newmailalerts for excluded accounts 2011-11-28 03:52:41 +01:00
TODO update README/TODO about disbabling newmailalerts for excluded accounts 2011-11-28 03:52:41 +01:00

Firetray

Overview

Js-ctypes rewrite of the binary XPCOM version of Firetray.

Notes

  • Firetray unsets the tabs.warnOnClose built-in preference, which otherwise disrupts the handeling of the close event.
  • Experimental non-customizable keyboard shortcut for hiding all windows set to: accel-shift-w

References

KNOWN BUGS

  • windows aren't restored with the same z-order, but there is no means to correct that under Linux

  • notifications for excluded mail account servers are not disabled. Newmailalerts are hard-coded and we can't easily disable thme on a per-server basis (only globally, see mail.biff.show_alert). The proper way would probably be to disable default notifications globally, and handle notifications ourselves. This is out of the scope of this addon, but you may want to give a try to the MailAlert extension

Acknowledgment

  • Some code borrowed from Mike Conley.
  • Some code borrowed from Nils Mayer.
  • kind support from Neil Deaking