Closed Bug 290710 Opened 20 years ago Closed 20 years ago

Separators in Tools menu doesn't have id assigned

Categories

(Firefox :: Menus, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 261917

People

(Reporter: piecu, Assigned: bugzilla)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

I wanted to get rid of Firefox's 'Read Mail' and 'Search' entries from the Tools
menu. I'have done this using a userChrome.css file in profile, but two menu
separators left at the beginning of the menu. I can't disable them because they
don't have any id assigned.
A change should be made in browser.xul file.

I thing that this change could be made to all others separators so the menu
could be then full flexible.

Reproducible: Always

Steps to Reproduce:
1. Write following lines into the userChrome.css file in you profile:
menuitem[key="key_newMessage"],
menuitem[command="Browser:ReadMail"],
menuitem[command="Tools:Search"] {
  display: none ! important;
}
2. Launch Firefox and see the Tools menu.

Actual Results:  
At the beginning there are two separators, not able to remove.

Expected Results:  
Separators should have id assigned so they could be removed from the Tools menu.
duping to a more general bug.

*** This bug has been marked as a duplicate of 261917 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You can remove the separator by adding + menuseparator to the userChrome.css:

menuitem[command="Browser:NewMessage"] + menuseparator {
  display: none !important;
}
Thanks, it works!
QA Contact: bugzilla → menus
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: