Hide "Open Recent" in xib
This commit is contained in:
parent
4da2eb9366
commit
8b720c120d
2 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ Role kRolesMap[] = {
|
||||||
if (!openRecentMenuItem_) {
|
if (!openRecentMenuItem_) {
|
||||||
openRecentMenuItem_ = [[[[NSApp mainMenu]
|
openRecentMenuItem_ = [[[[NSApp mainMenu]
|
||||||
itemWithTitle:@"Electron"] submenu] itemWithTitle:@"Open Recent"];
|
itemWithTitle:@"Electron"] submenu] itemWithTitle:@"Open Recent"];
|
||||||
|
[openRecentMenuItem_ setHidden:NO];
|
||||||
[openRecentMenuItem_ retain];
|
[openRecentMenuItem_ retain];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,7 @@
|
||||||
<string key="NSKeyEquiv"/>
|
<string key="NSKeyEquiv"/>
|
||||||
<int key="NSKeyEquivModMask">1048576</int>
|
<int key="NSKeyEquivModMask">1048576</int>
|
||||||
<int key="NSMnemonicLoc">2147483647</int>
|
<int key="NSMnemonicLoc">2147483647</int>
|
||||||
|
<bool key="NSIsHidden">YES</bool>
|
||||||
<reference key="NSOnImage" ref="229763992"/>
|
<reference key="NSOnImage" ref="229763992"/>
|
||||||
<reference key="NSMixedImage" ref="909111550"/>
|
<reference key="NSMixedImage" ref="909111550"/>
|
||||||
<string key="NSAction">submenuAction:</string>
|
<string key="NSAction">submenuAction:</string>
|
||||||
|
|
Loading…
Reference in a new issue