aboutsummaryrefslogtreecommitdiffstats
path: root/Source
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
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')
-rw-r--r--Source/SPAppController.h1
-rw-r--r--Source/SPAppController.m9
2 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h
index 473baa23..b01a069f 100644
--- a/Source/SPAppController.h
+++ b/Source/SPAppController.h
@@ -48,6 +48,7 @@
- (IBAction)visitWebsite:(id)sender;
- (IBAction)visitHelpWebsite:(id)sender;
- (IBAction)visitFAQWebsite:(id)sender;
+- (IBAction)provideFeedback:(id)sender;
// Getters
- (SPPreferenceController *)preferenceController;
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