mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1698997 - Disable the Services item in context menus for now. r=harry
Bug 660452 tracks turning this on for the appropriate menus. Depends on D108721 Differential Revision: https://phabricator.services.mozilla.com/D109179
This commit is contained in:
parent
070f09c1ac
commit
7555ea54af
@ -487,6 +487,9 @@ GeckoNSMenu* nsMenuX::CreateMenuWithGeckoString(nsString& aMenuTitle) {
|
||||
// overrides our decisions and things get incorrectly enabled/disabled.
|
||||
myMenu.autoenablesItems = NO;
|
||||
|
||||
// Disable the Services item for now. Bug 660452 tracks turning this on for the appropriate menus.
|
||||
myMenu.allowsContextMenuPlugIns = NO;
|
||||
|
||||
// we used to install Carbon event handlers here, but since NSMenu* doesn't
|
||||
// create its underlying MenuRef until just before display, we delay until
|
||||
// that happens. Now we install the event handlers when Cocoa notifies
|
||||
|
Loading…
Reference in New Issue
Block a user