mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-09 04:58:06 +02:00
XQuartz: SnowLeopard: Help system book name changed in 10.6
This commit is contained in:
parent
94e417ac87
commit
b57cb05c69
1 changed files with 9 additions and 8 deletions
|
|
@ -687,18 +687,19 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
|
||||||
[prefs_panel makeKeyAndOrderFront:sender];
|
[prefs_panel makeKeyAndOrderFront:sender];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction) quit:sender
|
- (IBAction) quit:sender {
|
||||||
{
|
|
||||||
DarwinSendDDXEvent(kXquartzQuit, 0);
|
DarwinSendDDXEvent(kXquartzQuit, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction) x11_help:sender
|
- (IBAction) x11_help:sender {
|
||||||
{
|
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
|
||||||
AHLookupAnchor((CFStringRef)NSLocalizedString(@"Mac Help", no comment), CFSTR("mchlp2276"));
|
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];
|
NSMenu *menu = [item menu];
|
||||||
|
|
||||||
if (item == toggle_fullscreen_item)
|
if (item == toggle_fullscreen_item)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue