From 5e1e88bdeb1cfc418719e08bba89455588a86cae Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 30 Apr 2013 21:10:52 -0400 Subject: [PATCH] Fancier password dialog. [ADDED] Mac: Shadows on labels so they're easier to read in regular mode. [ADDED] Mac: Some "subtle" bling on the password. --- .../ObjC/Mac/MPPasswordWindowController.m | 3 +- .../ObjC/Mac/MPPasswordWindowController.xib | 39 ++++++++++++++++++- 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/MasterPassword/ObjC/Mac/MPPasswordWindowController.m b/MasterPassword/ObjC/Mac/MPPasswordWindowController.m index fb112463..00794ed1 100644 --- a/MasterPassword/ObjC/Mac/MPPasswordWindowController.m +++ b/MasterPassword/ObjC/Mac/MPPasswordWindowController.m @@ -301,8 +301,7 @@ if (![[NSPasteboard generalPasteboard] setString:content forType:NSPasteboardTypeString]) { wrn(@"Couldn't copy password to pasteboard."); return; - } else - dbg(@"Copied: %@", content); + } NSManagedObjectContext *moc = [MPMacAppDelegate managedObjectContextForThreadIfReady]; MPElementEntity *activeElement = [self activeElementInContext:moc]; diff --git a/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib b/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib index 863cbfd4..6761322c 100644 --- a/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib +++ b/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib @@ -63,6 +63,14 @@ + + 1 + 1 + + 3 + MCAwLjYAA + + _NS:1535 YES @@ -99,6 +107,14 @@ + + 1 + 1 + + 3 + MCAwLjYAA + + _NS:1505 YES @@ -173,7 +189,6 @@ - 1 1 1 @@ -181,6 +196,17 @@ MCAwLjYAA + + + + YES + + + + + YES + + _NS:9 {250, 750} YES @@ -218,6 +244,7 @@ {{224, 84}, {32, 32}} + _NS:945 28682 100 @@ -833,7 +860,7 @@ - + @@ -845,6 +872,10 @@ com.apple.InterfaceBuilder.CocoaPlugin + + + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -859,6 +890,10 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin