mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 12:20:06 +01:00
XQuartz: SnowLeopard: Help system book name changed in 10.6
(cherry picked from commit b57cb05c69)
This commit is contained in:
parent
e81b4d495b
commit
97a6f55f22
1 changed files with 9 additions and 8 deletions
|
|
@ -687,18 +687,19 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
|
|||
[prefs_panel makeKeyAndOrderFront:sender];
|
||||
}
|
||||
|
||||
- (IBAction) quit:sender
|
||||
{
|
||||
DarwinSendDDXEvent(kXquartzQuit, 0);
|
||||
- (IBAction) quit:sender {
|
||||
DarwinSendDDXEvent(kXquartzQuit, 0);
|
||||
}
|
||||
|
||||
- (IBAction) x11_help:sender
|
||||
{
|
||||
AHLookupAnchor ((CFStringRef)NSLocalizedString(@"Mac Help", no comment), CFSTR ("mchlp2276"));
|
||||
- (IBAction) x11_help:sender {
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
|
||||
AHLookupAnchor((CFStringRef)NSLocalizedString(@"Mac Help", no comment), CFSTR("mchlp2276"));
|
||||
#else
|
||||
AHLookupAnchor(CFSTR("com.apple.machelp"), CFSTR("mchlp2276"));
|
||||
#endif
|
||||
}
|
||||
|
||||
- (OSX_BOOL) validateMenuItem:(NSMenuItem *)item
|
||||
{
|
||||
- (OSX_BOOL) validateMenuItem:(NSMenuItem *)item {
|
||||
NSMenu *menu = [item menu];
|
||||
|
||||
if (item == toggle_fullscreen_item)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue