1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-11-16 13:55:00 -05:00
Go to file
foudfou fdf76b9ca4 force switching to original desktop when activating window.
There are simingly 2 problems here:
* window desktop is not set right after window move
* _NET_ACTIVE_WINDOW/gtk_window_present doesn't trigger desktop switch
2012-03-23 01:59:02 +01:00
docs add captures of firetray-xpcom preferences 2012-02-09 21:46:20 +01:00
src force switching to original desktop when activating window. 2012-03-23 01:59:02 +01:00
testing cleaning 2012-02-09 12:19:49 +01:00
.gitignore modifired .gitignore 2011-07-03 20:06:15 +02:00
README.md update README with pop3 comments 2012-03-22 18:38:30 +01:00
TODO update README, TODO 2012-03-16 10:26:25 +01:00

Firetray

Overview

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

Features

  • for all applications:

    • show/hide a single or all windows
    • restore windows to their previous state, position, size
    • restore each window to its original virtual desktop/workspace
    • activate restored windows
    • hide to tray on close
    • hide to tray on minimize
    • start minimized to tray
    • show icon only when hidden to tray
    • mouse scroll on tray icon shows/hides
    • themable icons (forthcoming)
    • popup menu (show/hide indivisual windows, open new windows, quit)
    • keyboard shortcuts (forthcoming)
  • for mail applications:

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

Notes

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

  • POP users should set [http://kb.mozillazine.org/Thunderbird_:FAQs:_Automatically_Download_Messages](Automatically download new messages) to see new message. See this discussion.

Acknowledgment

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