Closed
Bug 343709
Opened 19 years ago
Closed 19 years ago
No way to skin Undo Close Tab menuitem without using English
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
FIXED
Firefox 2 beta2
People
(Reporter: ehume, Assigned: dietrich)
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
|
1.21 KB,
patch
|
Gavin
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) Gecko/20060705 BonEcho/2.0a3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) Gecko/20060705 BonEcho/2.0a3
Undo Close Tab menuitem has only the following associations:
label = Undo Close Tab menuitem
accesskey = U
If one tries to skin the menuitem using the accesskey, then the Uninstall button in the Addons manager loses its skin because it also has accesskey = U.
The only remaining association is the label, which is in English.
This will fail in localizations other than English.
Reproducible: Always
Note that the context menu uses accesskey = U for the Undo function. There are apparently other items that use this accesskey. Do an attributes search in DOMi to see everything this access key is used for.
This Undo close Tab menuitem uses the accesskey U to call the command undoCloseTab or something. Ideally it would be something along the lines of:
undoCloseTabItem.setAttribute("command", undoCloseTab); or whatever the Undo Close Tabs command is.
This would allow us themers to put in a single selector to address the menuitem wherever it appears in the browser (e.g.--main context menu, History dropdown menu, tab context menu, etc.). We would use:
menuitem[command="undoCloseTab"] {etc.}
| Assignee | ||
Updated•19 years ago
|
Assignee: nobody → dietrich
Flags: blocking-firefox2?
Target Milestone: --- → Firefox 2 beta2
Updated•19 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 1•19 years ago
|
||
Attachment #229166 -
Flags: review?(gavin.sharp)
Updated•19 years ago
|
Attachment #229166 -
Flags: review?(gavin.sharp) → review+
| Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•19 years ago
|
Attachment #229166 -
Flags: approval1.8.1?
Updated•19 years ago
|
Attachment #229166 -
Flags: approval1.8.1? → approval1.8.1+
Updated•19 years ago
|
Whiteboard: [checkin needed (1.8 branch)]
| Assignee | ||
Updated•19 years ago
|
Keywords: fixed1.8.1
Whiteboard: [checkin needed (1.8 branch)]
You need to log in
before you can comment on or make changes to this bug.
Description
•