Closed Bug 441705 Opened 17 years ago Closed 15 years ago

SetUpServerMenu is no longer used

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect
Not set
normal

Tracking

(thunderbird3.1 beta2-fixed)

RESOLVED FIXED
Thunderbird 3.1b2
Tracking Status
thunderbird3.1 --- beta2-fixed

People

(Reporter: jminta, Assigned: ewong)

References

Details

(Whiteboard: [good first bug])

Attachments

(1 file, 2 obsolete files)

This is a followup to bug 439486. Now that we've replaced the folder-picker there, the SetUpServerMenu function always hits the catch() block. It should just be removed.
Depends on: 439486
Whiteboard: [good first bug]
Assignee: nobody → ewong
As per comment #1, removed all occurrences of SetUpServerMenu() (including functional definition) from subscribe.js. Replaced the call to SetUpServerMenu() with SetServerTypeSpecificTextValues() as per comment #6 from bug# 439486.
Previous patch contained a tabbed line instead of a spaced line.
Attachment #432990 - Attachment is obsolete: true
Attachment #432992 - Flags: review?(bienvenu)
Status: NEW → ASSIGNED
Assignee: ewong → nobody
Component: General → Folder and Message Lists
QA Contact: general → folders-message-lists
Attachment #432992 - Flags: superreview?(bugzilla)
Assignee: nobody → ewong
Comment on attachment 432992 [details] [diff] [review] Removed SetUpServerMenu() from subscribe.js. I've just done some investigations into this. Somehow, comment 0 is wrong or no longer true. We don't hit the exception case. However digging into what TB does there is code in SubscribeOnLoad that sets the initial selection for us, one is serverMenu.menupopup.selectFolder and the second (fallback) is serverMenu.selectedIndex = 0; That's what makes SetUpServerMenu redundant. Following on, it appears that the SeaMonkey code may still required because they are still using RDF form of the menu. Therefore, please drop the suite/ changes from this patch and just make this mail/ only. I think then we can get this landed.
Attachment #432992 - Flags: superreview?(bugzilla) → superreview-
Removed the suite/ section as suggested by Comment 3.
Attachment #432992 - Attachment is obsolete: true
Attachment #432992 - Flags: review?(bienvenu)
Attachment #434497 - Flags: review?(bienvenu)
Attachment #434497 - Flags: review?(bienvenu) → review+
Attachment #434497 - Flags: superreview?(bugzilla)
Comment on attachment 434497 [details] [diff] [review] Same as previous patch but minus the diff for the suite/ version since this is a front end change only, you don't need sr, just someone to check it in. We can't easily do a test for this since mozmill doesn't support imap or nntp (and the change is straightforward)
Attachment #434497 - Flags: superreview?(bugzilla)
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.1b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: