Closed Bug 1446627 Opened 6 years ago Closed 6 years ago

Remove the overlays of am-identity-edit.xul and insert it's content directly or through includes

Categories

(MailNews Core :: Account Manager, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 61.0

People

(Reporter: Paenglab, Assigned: Paenglab)

References

Details

Attachments

(1 file)

The am-identity-edit.xul has overlays we can remove through inlining and preprocessing.
The am-identity-edit.xul isn't the only which used this overlays, so I alsotreated the same to the other files.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8959790 - Flags: review?(acelists)
Comment on attachment 8959790 [details] [diff] [review]
am-identity-edit.patch

Review of attachment 8959790 [details] [diff] [review]:
-----------------------------------------------------------------

Great, more files get pre-processing that didn't have it before. That slows down development :(
Thanks for the patch.

::: mailnews/base/prefs/content/am-identity-edit.xul
@@ +61,5 @@
>      <tabs id="identitySettings">
>        <tab label="&settingsTab.label;"/>
>        <tab label="&copiesFoldersTab.label;"/>
>        <tab label="&addressingTab.label;"/>
> +      <tab label="&securityTab.label;"/>

And we can see the ugliness of the preprocessing instead of xul overlay. Here the label and the scripts above are ripped out of extensions/smime/content/am-smime.inc file and need to be duplicated at all callers. So the features are no longer logically grouped in a single file.
Attachment #8959790 - Flags: review?(acelists) → review+
Yes, and the size grows because the code is no more in only one file that overlays the other but in every one that was overlayed.
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/c7f944624807
Remove the overlays of am-identity-edit.xul and insert its content directly or through includes. r=aceman
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 61.0
Blocks: 1444468
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: