Closed
Bug 640649
Opened 15 years ago
Closed 15 years ago
Remove unused cmd_file
Categories
(Thunderbird :: Mail Window Front End, defect)
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)
|
2.08 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
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.
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [good first bug]
| Assignee | ||
Comment 1•15 years ago
|
||
Updated•15 years ago
|
Attachment #520565 -
Flags: review?(bienvenu) → review+
Updated•15 years ago
|
Keywords: checkin-needed
Comment 2•15 years ago
|
||
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-
Updated•15 years ago
|
Keywords: checkin-needed
Summary: Remove unused button_file and cmd_file → Remove unused cmd_file
| Assignee | ||
Comment 3•15 years ago
|
||
Version 2, taking only cmd_file into account
Attachment #520565 -
Attachment is obsolete: true
Attachment #522261 -
Flags: review?(bugzilla)
Comment 4•15 years ago
|
||
Comment on attachment 522261 [details] [diff] [review]
v2
Thanks for updating the patch. r=Standard8
Attachment #522261 -
Flags: review?(bugzilla) → review+
Updated•15 years ago
|
Keywords: checkin-needed
Comment 5•15 years ago
|
||
Thanks Tobias,
Checked in: http://hg.mozilla.org/comm-central/rev/a059ee27a2e5
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.
Description
•