Closed Bug 721021 Opened 12 years ago Closed 12 years ago

Port |Bug 593321 - Opening saved .EML with empty subject has wrong window title|

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.9

People

(Reporter: InvisibleSmiley, Assigned: InvisibleSmiley)

Details

Attachments

(1 file)

We should add the following nsDummyMsgHeader properties to match TB's msgHdrViewOverlay.js (and because it makes sense, of course ;-)):

* getUint32Property
* setUint32Property
* subject (bug 593321)
* mime2DecodedSubject
Attachment #591478 - Flags: superreview?(mnyromyr)
Attachment #591478 - Flags: review?(mnyromyr)
Comment on attachment 591478 [details] [diff] [review]
patch [Checkin: Comment 3]

> {
>   mProperties : new Array,
>   getStringProperty : function(aProperty) {
>     return this.mProperties[aProperty];
>   },
>   setStringProperty : function(aProperty, aVal) {
>     this.mProperties[aProperty] = aVal;
>   },
>+  getUint32Property : function(aProperty) {
>+    if (aProperty in this.mProperties)
>+      return parseInt(this.mProperties[aProperty]);
>+    return 0;
>+  },
>+  setUint32Property: function(aProperty, aVal) {
>+    this.mProperties[aProperty] = aVal.toString();
>+  },

Bah. Please put the { on their own line (and please fix that for the *StringProperty functions as well, while touching this area).
Also, all other elements of this prototype have a space before the :, hence setUint32Property should have as well (although, strictly speaking, this is "wrong").

r/moa=me only with these changes.
Attachment #591478 - Flags: superreview?(mnyromyr)
Attachment #591478 - Flags: superreview+
Attachment #591478 - Flags: review?(mnyromyr)
Attachment #591478 - Flags: review+
Comment on attachment 591478 [details] [diff] [review]
patch [Checkin: Comment 3]

http://hg.mozilla.org/comm-central/rev/e65f0736efe7
Attachment #591478 - Attachment description: patch → patch [Checkin: Comment 3]
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: