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)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2 beta2

People

(Reporter: ehume, Assigned: dietrich)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

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: nobody → dietrich
Flags: blocking-firefox2?
Target Milestone: --- → Firefox 2 beta2
Flags: blocking-firefox2? → blocking-firefox2+
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #229166 - Flags: review?(gavin.sharp)
Attachment #229166 - Flags: review?(gavin.sharp) → review+
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment #229166 - Flags: approval1.8.1?
Attachment #229166 - Flags: approval1.8.1? → approval1.8.1+
Whiteboard: [checkin needed (1.8 branch)]
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.

Attachment

General

Created:
Updated:
Size: