From 6e2f3f0721263cfdd3c8f866b9cf3cb693b2f8ac Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 28 Jan 2013 16:51:10 +0000 Subject: Messing around with the file handling XIBs. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82566 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/English.lproj/AddPluginSheet.xib | 7 +++++-- macosx/English.lproj/PcsxrMemCardDocument.xib | 23 ++++++++++++++++++----- macosx/PcsxrMemCardHandler.m | 4 ++-- macosx/PcsxrPluginHandler.m | 6 +++--- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/macosx/English.lproj/AddPluginSheet.xib b/macosx/English.lproj/AddPluginSheet.xib index ea68d918..d56102ef 100644 --- a/macosx/English.lproj/AddPluginSheet.xib +++ b/macosx/English.lproj/AddPluginSheet.xib @@ -42,8 +42,8 @@ 1 2 {{177, 439}, {420, 131}} - 1881669632 - + 1881670656 + Install Plug-in NSPanel View @@ -92,6 +92,7 @@ {{316, 11}, {90, 34}} + YES 67108864 @@ -260,6 +261,8 @@ {{0, 0}, {1680, 1028}} {94, 29} {10000000000000, 10000000000000} + 5 + 2 YES diff --git a/macosx/English.lproj/PcsxrMemCardDocument.xib b/macosx/English.lproj/PcsxrMemCardDocument.xib index c559b5e7..5b8c96cb 100644 --- a/macosx/English.lproj/PcsxrMemCardDocument.xib +++ b/macosx/English.lproj/PcsxrMemCardDocument.xib @@ -39,7 +39,7 @@ 1 2 {{133, 235}, {416, 155}} - 1886912512 + 1886913536 Memory Card NSWindow View @@ -101,7 +101,7 @@ 1 - + DQ 200 25 @@ -269,6 +269,8 @@ {{0, 0}, {1920, 1058}} {416, 108} {416, 177} + 5 + 2 YES @@ -325,13 +327,21 @@ 17 + + + nextKeyView + + + + 100047 + nextKeyView - + - 100033 + 100046 @@ -398,6 +408,7 @@ + Cancel Button 100022 @@ -406,6 +417,7 @@ + Slot 1 Button 100023 @@ -476,6 +488,7 @@ + Slot 2 Button 100037 @@ -510,7 +523,7 @@ - 100044 + 100048 diff --git a/macosx/PcsxrMemCardHandler.m b/macosx/PcsxrMemCardHandler.m index 934414d2..7d043049 100755 --- a/macosx/PcsxrMemCardHandler.m +++ b/macosx/PcsxrMemCardHandler.m @@ -56,11 +56,11 @@ if (![self window]) { [NSBundle loadNibNamed:@"PcsxrMemCardDocument" owner:self]; } - [cardPath setObjectValue:[[NSURL fileURLWithPath:theFile] lastPathComponent]]; + [cardPath setObjectValue:[theFile lastPathComponent]]; [NSApp runModalForWindow:[self window]]; - [[self window] orderOut:self]; + [[self window] orderOut:nil]; if (memChosen != 0) { [ConfigurationController setMemoryCard:memChosen toPath:theFile]; diff --git a/macosx/PcsxrPluginHandler.m b/macosx/PcsxrPluginHandler.m index 9fcad0ee..a025f111 100755 --- a/macosx/PcsxrPluginHandler.m +++ b/macosx/PcsxrPluginHandler.m @@ -58,14 +58,14 @@ if (![self window]) [NSBundle loadNibNamed:@"AddPluginSheet" owner:self]; - [pluginName setObjectValue:[[NSURL fileURLWithPath:theFile] lastPathComponent]]; + [pluginName setObjectValue:[theFile lastPathComponent]]; [NSApp runModalForWindow:[self window]]; - [[self window] orderOut:self]; + [[self window] orderOut:nil]; if (moveOK == YES) { NSURL *supportURL = [[NSFileManager defaultManager] URLForDirectory:NSApplicationSupportDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:YES error:NULL]; - NSURL *url = [supportURL URLByAppendingPathComponent:@"Pcsxr/PlugIns"]; + NSURL *url = [[supportURL URLByAppendingPathComponent:@"Pcsxr"] URLByAppendingPathComponent:@"PlugIns"]; NSFileWrapper *wrapper = [[NSFileWrapper alloc] initWithPath:theFile]; NSString *dst = [NSString stringWithFormat:@"%@/%@", -- cgit v1.2.3