summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound/macsrc/PluginController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFSound/macsrc/PluginController.m')
-rwxr-xr-xmacosx/plugins/DFSound/macsrc/PluginController.m20
1 files changed, 12 insertions, 8 deletions
diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m
index bc3e076d..7b145a21 100755
--- a/macosx/plugins/DFSound/macsrc/PluginController.m
+++ b/macosx/plugins/DFSound/macsrc/PluginController.m
@@ -65,14 +65,18 @@ void DoAbout()
NSSize size = NSMakeSize(64, 64);
[icon setSize:size];
- [app orderFrontStandardAboutPanelWithOptions:[NSDictionary dictionaryWithObjectsAndKeys:
- [bundle objectForInfoDictionaryKey:@"CFBundleName"], @"ApplicationName",
- icon, @"ApplicationIcon",
- [bundle objectForInfoDictionaryKey:@"CFBundleShortVersionString"], @"ApplicationVersion",
- [bundle objectForInfoDictionaryKey:@"CFBundleVersion"], @"Version",
- [bundle objectForInfoDictionaryKey:@"NSHumanReadableCopyright"], @"Copyright",
- credits, @"Credits",
- nil]];
+ NSDictionary *infoPaneDict =
+ [NSDictionary dictionaryWithObjectsAndKeys:
+ [bundle objectForInfoDictionaryKey:@"CFBundleName"], @"ApplicationName",
+ icon, @"ApplicationIcon",
+ [bundle objectForInfoDictionaryKey:@"CFBundleShortVersionString"], @"ApplicationVersion",
+ [bundle objectForInfoDictionaryKey:@"CFBundleVersion"], @"Version",
+ [bundle objectForInfoDictionaryKey:@"NSHumanReadableCopyright"], @"Copyright",
+ credits, @"Credits",
+ nil];
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [app orderFrontStandardAboutPanelWithOptions:infoPaneDict];
+ });
}
long DoConfiguration()