aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-10-16 00:31:27 +0000
committerstuconnolly <stuart02@gmail.com>2009-10-16 00:31:27 +0000
commitb74377b6341d4b861b254ffcfb983d2cb27ec5b6 (patch)
tree6a53a554d0151f455dbd0c729f45dc641728020e /Source/SPAppController.m
parent9528721a24d73b0abe817d3b535a0a1ead3233b9 (diff)
downloadsequelpro-b74377b6341d4b861b254ffcfb983d2cb27ec5b6.tar.gz
sequelpro-b74377b6341d4b861b254ffcfb983d2cb27ec5b6.tar.bz2
sequelpro-b74377b6341d4b861b254ffcfb983d2cb27ec5b6.zip
Add a 'Provide Feedback' menu item to the help menu, which links to http://www.sequelpro.com/docs/Contact_the_developers.
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 43d7b8c5..b0cf4ed5 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -36,6 +36,7 @@
#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"
+#define SEQUEL_PRO_CONTACT_URL @"http://www.sequelpro.com/docs/Contact_the_developers"
@implementation SPAppController
@@ -380,6 +381,14 @@
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SEQUEL_PRO_FAQ_URL]];
}
+/**
+ * Opens the 'Contact the developers' page in the default browser
+ */
+- (IBAction)provideFeedback:(id)sender
+{
+ [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SEQUEL_PRO_CONTACT_URL]];
+}
+
#pragma mark -
#pragma mark Other methods