Closed Bug 640649 Opened 15 years ago Closed 15 years ago

Remove unused cmd_file

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 5.0b1

People

(Reporter: squib, Assigned: Tobbi)

References

Details

(Whiteboard: [good first bug])

Attachments

(1 file, 1 obsolete file)

It seems that button_file and cmd_file are no longer used to do anything, but references to them still exist: mail/base/content/messageWindow.js 733: case "button_file": 734: case "cmd_file": 869: case "button_file": 870: case "cmd_file": mail/base/content/mailWindowOverlay.xul 113: <command id="cmd_file" disabled="true"/> 288: <command id="button_file"/> 1710: observes="button_file" mail/base/content/mail3PaneWindowCommands.js 229: case "button_file": 230: case "cmd_file": 378: case "button_file": 379: case "cmd_file": We should probably just get rid of them.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [good first bug]
Attached patch v1 (obsolete) — — Splinter Review
Assignee: nobody → tobbi.bugs
Status: NEW → ASSIGNED
Attachment #520565 - Flags: review?(bienvenu)
Attachment #520565 - Flags: review?(bienvenu) → review+
Comment on attachment 520565 [details] [diff] [review] v1 Sorry for this, but contrary to comment 0, button_file *is* used - via that observes attribute. Without it the file button (when customised onto the toolbar) would be enabled all the time. Would you mind updating the patch to just do the cmd_file changes?
Attachment #520565 - Flags: review-
Keywords: checkin-needed
Summary: Remove unused button_file and cmd_file → Remove unused cmd_file
Attached patch v2 — — Splinter Review
Version 2, taking only cmd_file into account
Attachment #520565 - Attachment is obsolete: true
Attachment #522261 - Flags: review?(bugzilla)
Comment on attachment 522261 [details] [diff] [review] v2 Thanks for updating the patch. r=Standard8
Attachment #522261 - Flags: review?(bugzilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: