Closed Bug 470522 Opened 16 years ago Closed 16 years ago

Threadpane context menuitem "Open Message in New Tab" should hide and enable in parallel with "Open Message in New Window"

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b3

People

(Reporter: philor, Assigned: philor)

References

Details

(Keywords: polish)

Attachments

(1 file)

We set up the threadpane context menu so that the New Window menuitem is hidden if more than one message is selected, and shown but disabled if zero messages are selected, but the New Tab menuitem is just always shown, throwing an uncaught exception if nothing's selected and only opening the first message in a tab if multiple items are selected. It'd be lovely if they both just did the right thing with multiple messages selected (which is surely filed, though I didn't find it), but they should at least do the *same* thing, and both hide in shame.
Depends on: 462684
Attached patch Baby stepSplinter Review
Despite the strong temptation to expand out to a half-dozen nearby things that annoy me, this just makes us do the same thing as context-new-window: show for exactly one selected message, which coincidentally is also what we successfully open.
Attachment #368753 - Flags: review?(mkmelin+mozilla)
Comment on attachment 368753 [details] [diff] [review] Baby step Yay for consistency! r=mkmelin
Attachment #368753 - Flags: review?(mkmelin+mozilla) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: