aboutsummaryrefslogtreecommitdiffstats
path: root/Source/MainController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-07-16 15:26:13 +0000
committerBibiko <bibiko@eva.mpg.de>2009-07-16 15:26:13 +0000
commite21905eda02d5fffebf9cfb5ac7fa825e30860d7 (patch)
tree7f03177d37aca609774b06307fc20ef81f27c52b /Source/MainController.m
parentc1b38e1929a723d3797e744dc8b30a906adf1c95 (diff)
downloadsequelpro-e21905eda02d5fffebf9cfb5ac7fa825e30860d7.tar.gz
sequelpro-e21905eda02d5fffebf9cfb5ac7fa825e30860d7.tar.bz2
sequelpro-e21905eda02d5fffebf9cfb5ac7fa825e30860d7.zip
Diffstat (limited to 'Source/MainController.m')
-rw-r--r--Source/MainController.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/MainController.m b/Source/MainController.m
index b9d02d92..25ffdeb9 100644
--- a/Source/MainController.m
+++ b/Source/MainController.m
@@ -33,6 +33,7 @@
#define SEQUEL_PRO_HOME_PAGE_URL @"http://www.sequelpro.com/"
#define SEQUEL_PRO_DONATIONS_URL @"http://www.sequelpro.com/donate.html"
#define SEQUEL_PRO_FAQ_URL @"http://www.sequelpro.com/frequently-asked-questions.html"
+#define SEQUEL_PRO_DOCS_URL @"http://www.sequelpro.com/docs"
@implementation MainController
@@ -142,6 +143,14 @@
*/
- (IBAction)visitHelpWebsite:(id)sender
{
+ [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SEQUEL_PRO_DOCS_URL]];
+}
+
+/**
+ * Opens FAQ help link in default browser
+ */
+- (IBAction)visitFAQWebsite:(id)sender
+{
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SEQUEL_PRO_FAQ_URL]];
}