Closed Bug 413517 Opened 17 years ago Closed 17 years ago

Tray icon support for Windows

Categories

(Mozilla Labs :: Prism, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: matthew.gertner, Assigned: matthew.gertner)

References

Details

Attachments

(1 file, 1 obsolete file)

It should be possible to display a tray icon for an application, with the following features: - Minimize to tray - Close to tray - Context menu My plan is to fold this work into bug 325353.
Attached patch Prelimary tray icon support (obsolete) — Splinter Review
This just adds an icon to the notification area (tray) if trayicon is turned on in webapp.ini. Double-clicking on the icon brings the app to the foreground. To dos: - Context menu - Badging
Attachment #298509 - Flags: review?(mark.finkle)
Comment on attachment 298509 [details] [diff] [review] Prelimary tray icon support >Index: components/public/windows/nsINotificationArea.idl >+[scriptable, uuid(03ac64c0-c82f-11dc-95ff-0800200c9a66)] >+interface nsINotificationArea : nsISupports >+{ >+ void showIcon(in AString iconId, in nsIURI imageURI, in nsINotificationAreaListener listener); >+ void hideIcon(in AString iconId); >+ >+ void setTitle(in AString iconId, in AString title); might be better as | setTooltip | since that is what it sets. I am assuming that we could animate the icon as well by calling showIcon in a loop? Nicely done r=mfinkle
Attachment #298509 - Flags: review?(mark.finkle) → review+
Just fixed the components/public/ makefile and added a stub for setZLevel.
Attachment #298509 - Attachment is obsolete: true
Attachment #298518 - Flags: review?(mark.finkle)
Attachment #298518 - Flags: review?(mark.finkle) → review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: