Closed
Bug 1518938
Opened 6 years ago
Closed 6 years ago
Make it possible to hide items from the application menu
Categories
(Core :: Widget: Cocoa, enhancement)
Core
Widget: Cocoa
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: mossop, Assigned: mossop)
Details
Attachments
(1 file)
We're trying to create a modal dialog and block the user from doing anything else until it is closed. But the application menu still shows items for About and Preferences. It would be nice if we had a way to disable or hide these.
As far as I can tell by the time I get to this point the application menu has already been built from the hidden window and there doesn't seem to be a way to replace it with the menus from a new window, but I can still manipulate the menuitems in the hidden window.
So I've added a check when building the application menu to skip items which are collapsed (they are all already hidden).
Assignee | ||
Comment 1•6 years ago
|
||
Pushed by dtownsend@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/50b3268954b1
Make it possible to hide items from the application menu. r=spohl
Comment 3•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in
before you can comment on or make changes to this bug.
Description
•