Move "About Mozilla" from properties to dtd



UI Design
18 years ago
14 years ago


(Reporter: Peter ``jag'' Annema, Assigned: Peter ``jag'' Annema)


Firefox Tracking Flags

(Not tracked)



(7 attachments)



18 years ago
This means we can remove helpMenuCreate() from utilityOverlay.js, but it also
means changing the Mac code which now reads from that properties file to instead
get the label from the menuitem.

Attaching a few patches soon.

Comment 1

18 years ago
Created attachment 26147 [details] [diff] [review]
[patch] This should make Mac use the menuitem's label.

Comment 2

18 years ago
Note: the above patch is completely untested, I wouldn't mind some Mac help,
cc'ing saari.

Attaching patches for the XP part.

Note2: once those patches are applied, the first patch should be changed to also
do s/releaseName/aboutName/

Comment 3

18 years ago
Created attachment 26150 [details] [diff] [review]
[patch] XP part + fixing mac/nsMenu.cpp

Comment 4

18 years ago
Created attachment 26151 [details] [diff] [review]
[patch] Remove aboutStrName from once above two patches are applied

Comment 5

18 years ago
timeless noted that when releaseUrl was moved from to it was incorrectly changed from
<> to

I'll undo that change before checking in.

Comment 6

18 years ago
r=timeless given that assurance.

Comment 7

18 years ago
So it seems like the first patch needs to #include "nsHTMLAtoms.h" to work and
the .mcp will probably need to be modified to add an include path directly to
the source dir (this is what other places / unix makefiles seem to do).

Currently it will put "About" in the Mac help menu, but with patch 2 applied and
changing "releaseName" to "aboutName" in patch 1 it should say "About Mozilla"
or "About Netscape 6".

"Should" being the operative word here. If someone could confirm this for me
I'll attach the new patch.
i had to make some (minor) changes to the patches, but after doing that, this
worked on mac. 

Comment 9

18 years ago
Created attachment 26234 [details] [diff] [review]
[patch] update to attach_id=26147, make mac use menuitem value

Comment 10

18 years ago
Created attachment 26235 [details] [diff] [review]
[patch] a second attempt at that...

Comment 11

18 years ago
Created attachment 26241 [details] [diff] [review]
[patch] add/improve comments in nsMenu(Bar).cpp

Comment 12

18 years ago
looks good to me, r=saari

Comment 14

18 years ago
Created attachment 26264 [details] [diff] [review]
[patch] merging all above patches into one to make life easier

Comment 15

18 years ago
okay, checked in, marking fixed.
Last Resolved: 18 years ago
Resolution: --- → FIXED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.