diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPAppController.h | 1 | ||||
-rw-r--r-- | Source/SPAppController.m | 8 | ||||
-rw-r--r-- | Source/SPConstants.h | 1 | ||||
-rw-r--r-- | Source/SPConstants.m | 1 |
4 files changed, 11 insertions, 0 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h index 3f661d08..86b9db13 100644 --- a/Source/SPAppController.h +++ b/Source/SPAppController.h @@ -52,6 +52,7 @@ - (IBAction)visitHelpWebsite:(id)sender; - (IBAction)visitFAQWebsite:(id)sender; - (IBAction)provideFeedback:(id)sender; +- (IBAction)viewKeyboardShortcuts:(id)sender; // Getters - (SPPreferenceController *)preferenceController; diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 7c5db4eb..5a515f02 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -414,6 +414,14 @@ [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SPContactURL]]; } +/** + * Opens the 'Keyboard Shortcuts' page in the default browser. + */ +- (IBAction)viewKeyboardShortcuts:(id)sender +{ + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SPKeyboardShortcutsURL]]; +} + #pragma mark - #pragma mark Feedback reporter delegate methods diff --git a/Source/SPConstants.h b/Source/SPConstants.h index c21f6d24..fd20509b 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -182,6 +182,7 @@ extern NSString *SPDonationsURL; extern NSString *SPFAQURL; extern NSString *SPDocumentationURL; extern NSString *SPContactURL; +extern NSString *SPKeyboardShortcutsURL; // Toolbar constants diff --git a/Source/SPConstants.m b/Source/SPConstants.m index 2a8822e0..23f1278f 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -150,6 +150,7 @@ NSString *SPDonationsURL = @"http://www.sequelpro.com/do NSString *SPFAQURL = @"http://www.sequelpro.com/docs/Frequently_Asked_Questions"; NSString *SPDocumentationURL = @"http://www.sequelpro.com/docs/"; NSString *SPContactURL = @"http://www.sequelpro.com/docs/Contact_the_developers"; +NSString *SPKeyboardShortcutsURL = @"http://www.sequelpro.com/docs/Keyboard_Shortcuts"; // Toolbar constants |