add a button to the peers prefs window for help documentation; divide the help documentation between peers and network

This commit is contained in:
Mitchell Livingston
2008-04-06 05:07:28 +00:00
parent f63bebdc09
commit 11d64631d9
7 changed files with 155 additions and 45 deletions

View File

@@ -605,10 +605,15 @@
[[NSNotificationCenter defaultCenter] postNotificationName: @"AutoSizeSettingChange" object: self];
}
#warning have one for peers, one for network?
- (void) helpForPeers: (id) sender
{
[[NSHelpManager sharedHelpManager] openHelpAnchor: @"PeersPrefs"
inBook: [[NSBundle mainBundle] objectForInfoDictionaryKey: @"CFBundleHelpBookName"]];
}
- (void) helpForNetwork: (id) sender
{
[[NSHelpManager sharedHelpManager] openHelpAnchor: @"AdvancedPrefs"
[[NSHelpManager sharedHelpManager] openHelpAnchor: @"NetworkPrefs"
inBook: [[NSBundle mainBundle] objectForInfoDictionaryKey: @"CFBundleHelpBookName"]];
}