Add 'set message'

This commit is contained in:
Twinaphex 2016-01-13 18:09:08 +01:00
parent d4e3a84f9c
commit 61987e8ba5

View File

@ -295,6 +295,7 @@ extern void action_ok_push_quick_menu(void);
#if defined(MAC_OS_X_VERSION_10_6) #if defined(MAC_OS_X_VERSION_10_6)
settings_t *settings = config_get_ptr(); settings_t *settings = config_get_ptr();
NSString *startdir = BOXSTRING(settings->libretro_directory); NSString *startdir = BOXSTRING(settings->libretro_directory);
[panel setMessage:BOXSTRING("Load Core")];
[panel setDirectoryURL:[NSURL fileURLWithPath:startdir]]; [panel setDirectoryURL:[NSURL fileURLWithPath:startdir]];
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result) [panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result)
{ {
@ -344,6 +345,7 @@ extern void action_ok_push_quick_menu(void);
if (!startdir.length) if (!startdir.length)
startdir = BOXSTRING("/"); startdir = BOXSTRING("/");
[panel setDirectoryURL:[NSURL fileURLWithPath:startdir]]; [panel setDirectoryURL:[NSURL fileURLWithPath:startdir]];
[panel setMessage:BOXSTRING("Load Content")];
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result) [panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result)
{ {
[[NSApplication sharedApplication] stopModal]; [[NSApplication sharedApplication] stopModal];