Closed Bug 412252 Opened 18 years ago Closed 17 years ago

Make it easier for extensions to overlay the TB context-menus by adding IDs

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3

People

(Reporter: sipaq, Assigned: sipaq)

Details

(Keywords: mail-integration)

Attachments

(2 files)

The Thunderbird context-menus are currently very hard to extend for extensions, because they lack IDs in some places. In consequence it is very hard to add items to the context-menu or hide items from TB and one has to hack around this issue.
Attached patch PatchSplinter Review
This patch adds the missing IDs to the context-menus. In a few places I replaced the context-menu IDs with IDs that use the general style of ID naming in the file. I'll also add a diff -uw patch for easier review.
Attachment #320256 - Flags: review?(mkmelin+mozilla)
Comment on attachment 320256 [details] [diff] [review] Patch messagePaneContext-afterMarkFlagged should use -sep- like all the other separators, for consistency
Attachment #320256 - Flags: review?(mkmelin+mozilla) → review+
Fixed that, and checked in. Checking in mail/base/content/mailContextMenus.js; /cvsroot/mozilla/mail/base/content/mailContextMenus.js,v <-- mailContextMenus.js new revision: 1.33; previous revision: 1.32 done Checking in mail/base/content/mailWindowOverlay.xul; /cvsroot/mozilla/mail/base/content/mailWindowOverlay.xul,v <-- mailWindowOverlay.xul new revision: 1.240; previous revision: 1.239 done Checking in mail/base/content/nsContextMenu.js; /cvsroot/mozilla/mail/base/content/nsContextMenu.js,v <-- nsContextMenu.js new revision: 1.21; previous revision: 1.20 done ->FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: