mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
add a button to the peers prefs window for help documentation; divide the help documentation between peers and network
This commit is contained in:
@@ -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"]];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user