diff options
-rw-r--r-- | Interfaces/English.lproj/MainMenu.xib | 68 | ||||
-rw-r--r-- | Source/SPAppController.h | 1 | ||||
-rw-r--r-- | Source/SPAppController.m | 9 |
3 files changed, 69 insertions, 9 deletions
diff --git a/Interfaces/English.lproj/MainMenu.xib b/Interfaces/English.lproj/MainMenu.xib index d483d356..07fde2c0 100644 --- a/Interfaces/English.lproj/MainMenu.xib +++ b/Interfaces/English.lproj/MainMenu.xib @@ -3,17 +3,16 @@ <data> <int key="IBDocument.SystemTarget">1050</int> <string key="IBDocument.SystemVersion">10B504</string> - <string key="IBDocument.InterfaceBuilderVersion">732</string> + <string key="IBDocument.InterfaceBuilderVersion">740</string> <string key="IBDocument.AppKitVersion">1038.2</string> <string key="IBDocument.HIToolboxVersion">437.00</string> <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="NS.object.0">732</string> + <string key="NS.object.0">740</string> </object> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="1015"/> - <integer value="81"/> + <integer value="106"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -1809,6 +1808,24 @@ <reference key="NSOnImage" ref="625762401"/> <reference key="NSMixedImage" ref="315854375"/> </object> + <object class="NSMenuItem" id="421783578"> + <reference key="NSMenu" ref="1021151289"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="591406408"> + <reference key="NSMenu" ref="1021151289"/> + <string key="NSTitle">Provide Feedback</string> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> </object> </object> </object> @@ -2802,6 +2819,14 @@ </object> <int key="connectionID">1026</int> </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">provideFeedback:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="591406408"/> + </object> + <int key="connectionID">1030</int> + </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> <object class="NSArray" key="orderedObjects"> @@ -3186,8 +3211,10 @@ <reference ref="896818469"/> <reference ref="379292312"/> <reference ref="675223656"/> - <reference ref="501853903"/> <reference ref="860424953"/> + <reference ref="501853903"/> + <reference ref="591406408"/> + <reference ref="421783578"/> </object> <reference key="parent" ref="835585357"/> </object> @@ -3469,7 +3496,7 @@ <int key="objectID">213</int> <reference key="object" ref="432083121"/> <reference key="parent" ref="0"/> - <string key="objectName">MainController</string> + <string key="objectName">SPAppController</string> </object> <object class="IBObjectRecord"> <int key="objectID">757</int> @@ -4149,6 +4176,16 @@ <reference key="object" ref="55563290"/> <reference key="parent" ref="1934"/> </object> + <object class="IBObjectRecord"> + <int key="objectID">1028</int> + <reference key="object" ref="591406408"/> + <reference key="parent" ref="1021151289"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1029</int> + <reference key="object" ref="421783578"/> + <reference key="parent" ref="1021151289"/> + </object> </object> </object> <object class="NSMutableDictionary" key="flattenedProperties"> @@ -4163,6 +4200,8 @@ <string>1015.IBEditorWindowLastContentRect</string> <string>1015.IBPluginDependency</string> <string>1016.IBPluginDependency</string> + <string>1028.IBPluginDependency</string> + <string>1029.IBPluginDependency</string> <string>103.IBPluginDependency</string> <string>103.ImportedFromIB2</string> <string>106.IBEditorWindowLastContentRect</string> @@ -4521,8 +4560,10 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1"/> - <string>{{836, 500}, {181, 93}}</string> + <string>{{796, 736}, {190, 123}}</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1"/> <string>{{561, 605}, {181, 43}}</string> @@ -4605,7 +4646,7 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1"/> <string>{{449, 1007}, {197, 53}}</string> - <string>{{355, 510}, {511, 20}}</string> + <string>{{346, 859}, {511, 20}}</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <integer value="1"/> <string>{{506, 836}, {511, 20}}</string> @@ -4933,7 +4974,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">1026</int> + <int key="maxID">1030</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> @@ -5083,6 +5124,13 @@ <string key="className">NSObject</string> <object class="IBClassDescriptionSource" key="sourceIdentifier"> <string key="majorKey">IBProjectSource</string> + <string key="minorKey">Source/SPNotLoaded.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> <string key="minorKey">Source/SPQueryFavoriteManager.h</string> </object> </object> @@ -5156,6 +5204,7 @@ <string>donate:</string> <string>openConnectionSheet:</string> <string>openPreferences:</string> + <string>provideFeedback:</string> <string>visitFAQWebsite:</string> <string>visitHelpWebsite:</string> <string>visitWebsite:</string> @@ -5168,6 +5217,7 @@ <string>id</string> <string>id</string> <string>id</string> + <string>id</string> </object> </object> <object class="NSMutableDictionary" key="outlets"> 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 |