1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-08-13 15:53:47 -04:00
FireTray/README.md
foudfou 0fa7b30674 prevent usage of msg count with type 'new messages'
There seems to be no consistent way to count new messages. Tried with
'BiffState', 'NumNewBiffMessages', 'NewMessages'... either the proper event is
not fired, or the count is incorrect at a specific event... It was even
non-trivial to display an accurate biff.
2012-02-21 00:09:40 +01:00

2.8 KiB

Firetray

Overview

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

Features

  • for all applications:

    • show/hide a single or all windows
    • a window gets restored to its previous state, position, size, virtual desktop
    • optional hide to tray on minimize
    • optional start minimized to tray
    • optional show icon only when hidden to tray
  • for mail applications:

    • display unread messages count in tray icon
    • customizable tray icon for mail biff
    • include/exclude mail accounts and folders types to/from unread messages count

Notes

  • requires GTK+ 2.20 and higher.
  • 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 them 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

  • child windows (compose message, preferences, ...) are not handled by Firetray. For ex., they are not hidden along with there top-level window.

  • because of getNumNewMessages()'s strange behaviour, it's impossible to display an accurate count of new messages. The best we can do is display a biff icon.

Acknowledgment

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