Closed Bug 167571 Opened 22 years ago Closed 22 years ago

fix CAB ui to have an AB picker for which AB to collect into, remove UI and code for "limit CAB size"

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.2beta

People

(Reporter: sspitzer, Assigned: sspitzer)

References

()

Details

Attachments

(1 file, 5 obsolete files)

fix CAB ui to have an AB picker for which AB to collect into, remove UI and code
for "limit CAB size".

the picker can only show ABs that are writable (so no LDAP).

I think we should remove the code that does that altogether (from prefs UI,
default pref, and current CAB C++ code)

All this comes from mscott's document about how to fix the CAB.  See
http://rocknroll/users/mscott/publish/Documents/cab.html
Size Limit pref bug 158436.
Here's the document on mozilla.org that talks about the CAB changes we'd like to
make:

http://www.mozilla.org/mailnews/arch/cab.html
*** Bug 158436 has been marked as a duplicate of this bug. ***
patch coming.  I got the UI fixed, now just fixing the back end...
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
Attached patch testing now... (obsolete) — Splinter Review
Attachment #98702 - Attachment is obsolete: true
Attached patch updated patch (obsolete) — Splinter Review
Attachment #98739 - Attachment is obsolete: true
Attached patch patchSplinter Review
Attachment #98745 - Attachment is obsolete: true
looks fine.

nit: in the two places this occurrs:
+  if (NS_FAILED(rv) || prefVal.IsEmpty())
+    rv = adCol->SetAbURI(kPersonalAddressbook);
+  else 
+    rv = adCol->SetAbURI(prefVal.get());
+

you could just use the ? operator here (up to you)
rv = adCol->SetAbUri((NS_FAILED(rv) || prefVal.IsEmpty()) ? kPersonalAddressBook
: prevVal.get())
Comment on attachment 98748 [details] [diff] [review]
patch

sr=bienvenu
Attachment #98748 - Flags: superreview+
I'll follow your suggestion before checking in, thanks.
fixed.

see bug 168115, which covers the "IM" button.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: olgam → nbaca
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: