aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-10-01 15:23:33 +0000
committerstuconnolly <stuart02@gmail.com>2009-10-01 15:23:33 +0000
commitd766381344119184158738d2d5a23484a8a1b3a1 (patch)
treeb74e3e39419d4271ee56931e9a06a1799e9b4035 /Source/SPPreferenceController.m
parent9f7b5dccfae711371970031b3e79f671213441d6 (diff)
downloadsequelpro-d766381344119184158738d2d5a23484a8a1b3a1.tar.gz
sequelpro-d766381344119184158738d2d5a23484a8a1b3a1.tar.bz2
sequelpro-d766381344119184158738d2d5a23484a8a1b3a1.zip
- Add copy create syntax button to the create syntax sheet.
- Fix the Growl notification prefs message as well as making the dialog a sheet. - Re-run genstrings to update localizable.strings and also remove use of multiple comments for a single string.
Diffstat (limited to 'Source/SPPreferenceController.m')
-rw-r--r--Source/SPPreferenceController.m10
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m
index c1a430f9..a0fac783 100644
--- a/Source/SPPreferenceController.m
+++ b/Source/SPPreferenceController.m
@@ -946,12 +946,10 @@
- (void)setGrowlEnabled:(BOOL)value
{
if (value) {
- NSRunInformationalAlertPanel(
- NSLocalizedString(@"growl_prefs_title", "Title for Growl Notifications Alert Dialog"),
- NSLocalizedString(@"growl_prefs_msg", @"Message for Growl Notifications Alert Dialog"),
- nil,
- nil,
- nil
+ NSBeginInformationalAlertSheet(
+ NSLocalizedString(@"Growl notification preferences", "Growl notification preferences alert title"),
+ nil, nil, nil, [self window], self, nil, nil, nil,
+ NSLocalizedString(@"All Growl notifications are enabled by default. To change which notifications are displayed, go to the Growl Preference Pane in the System Preferences and choose what notifications Growl should display from Sequel Pro.", @"Growl notification preferences alert message")
);
}