Closed Bug 185136 Opened 22 years ago Closed 20 years ago

Add menupopup 'id' for Edit Menu menupopup

Categories

(SeaMonkey :: MailNews: Message Display, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: GuruJ, Assigned: sspitzer)

Details

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

I develop a Mozilla add-on called Preferential (http://preferential.mozdev.org),
which currently appends a menu item to the bottom of the Navigator 'Edit' menu.
 I can do this because the XUL for the navigator menu overlay includes an id for
the menupopup XUL element like this:

<menupopup id="menu_Edit_Popup">

Messenger does not include this (or a similar) id, making it impossible to
customize with an overlay.



Reproducible: Always

Steps to Reproduce:
1. View code in messenger.jar -> mailWindowOverlay.xul.
2. Settle for alternative overlay or hack *.xul directly



Expected Results:  
Needs modification of code @ line 1050:

    <menupopup onpopupshowing="InitEditMessagesMenu()">

to

    <menupopup id="menu_Edit_Popup" onpopupshowing="InitEditMessagesMenu()">
No longer at line 1050; for Moz 1.4RC2, it's line 1095.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch patch (obsolete) — Splinter Review
Very straightforward, following reporter's request.
Attached patch patch diff -u against 1.7-0310 (obsolete) — Splinter Review
(Somehow got the wrong file on that last patch)
Attachment #143712 - Attachment is obsolete: true
Comment on attachment 143713 [details] [diff] [review]
patch   diff -u   against 1.7-0310

Neil, if you like this, could you also sr and check in?  It's pretty trivial.
Attachment #143713 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 143713 [details] [diff] [review]
patch   diff -u   against 1.7-0310

r=me, but you don't need the spaces around the = sign. You'll need sr from
bienvenu or mscott (or sspitzer, though it seems unlikely!)
Attachment #143713 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #143713 - Attachment is obsolete: true
Comment on attachment 143748 [details] [diff] [review]
Same patch, without the spaces.

I'll give David a break on this bug.  (Neil gets the break on the next one.)
Attachment #143748 - Flags: superreview?(mscott)
Attachment #143748 - Flags: superreview?(mscott) → superreview+
Comment on attachment 143748 [details] [diff] [review]
Same patch, without the spaces.

Requesting approval for this trivial patch.
Attachment #143748 - Flags: approval1.7b?
Comment on attachment 143748 [details] [diff] [review]
Same patch, without the spaces.

a=chofmann for 1.7b
Attachment #143748 - Flags: approval1.7b? → approval1.7b+
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: