Closed Bug 676836 Opened 14 years ago Closed 14 years ago

Remove code duplication for print menus by moving them to utilityOverlay

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(seamonkey2.5 fixed)

RESOLVED FIXED
seamonkey2.5
Tracking Status
seamonkey2.5 --- fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

References

Details

Attachments

(1 file)

For the Print, Print Preview and Page Setup menu items we have a certain amount of code duplication across suite, this can be reduced by centralising the code into utilityOverlay. This patch does that by: * Creating key_print, menu_print, menu_printSetup and menu_printPreview overlays. * Adding relevant entities to utilityOverlay.dtd * Tweaking command elements where relevant. * Removing now unused entities from other dtd files.
Attachment #551038 - Flags: review?(neil)
Comment on attachment 551038 [details] [diff] [review] Centralise print menus [Checked in: Comment 4] I take it the entities you've left behind in the editor, navigator and mail windows are the ones used by the print button dropdown?
Depends on: 676985
Blocks: 676991
(In reply to neil@parkwaycc.co.uk from comment #1) > Comment on attachment 551038 [details] [diff] [review] [diff] [details] [review] > Centralise print menus > > I take it the entities you've left behind in the editor, navigator and mail > windows are the ones used by the print button dropdown? Correct, they'll be removed in bug 676991
Attachment #551038 - Flags: review?(neil) → review+
Comment on attachment 551038 [details] [diff] [review] Centralise print menus [Checked in: Comment 4] Requesting additional review for the editorOverlay.dtd changes as it is a shared file.
Attachment #551038 - Flags: review?(mbanner)
Attachment #551038 - Flags: review?(mbanner) → review+
Attachment #551038 - Attachment description: Centralise print menus → Centralise print menus [Checked in: Comment 4]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.5
Blocks: 688970
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: