mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-19 14:30:00 +00:00
24 lines
613 B
Mathematica
24 lines
613 B
Mathematica
|
/**
|
||
|
* \file AppleSupport.m
|
||
|
* This file is part of LyX, the document processor.
|
||
|
* Licence details can be found in the file COPYING.
|
||
|
*
|
||
|
* \author Stephan Witt
|
||
|
*
|
||
|
* Full author contact details are available in file CREDITS.
|
||
|
*/
|
||
|
|
||
|
#import <Cocoa/Cocoa.h>
|
||
|
#include "AppleSupport.h"
|
||
|
|
||
|
|
||
|
void appleCleanupEditMenu() {
|
||
|
|
||
|
// Remove (disable) the "Start Dictation..." and "Emoji & Symbols" menu items
|
||
|
// from the "Edit" menu
|
||
|
|
||
|
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"NSDisabledDictationMenuItem"];
|
||
|
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"NSDisabledCharacterPaletteMenuItem"];
|
||
|
|
||
|
}
|