Skip to content

Commit

Permalink
Redesigned password prompt UI
Browse files Browse the repository at this point in the history
  • Loading branch information
andymatuschak committed Jun 27, 2012
1 parent 9c8e825 commit a4082a0
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 686 deletions.
8 changes: 0 additions & 8 deletions SUPasswordPrompt.m
Expand Up @@ -26,7 +26,6 @@ - (id)initWithHost:(SUHost *)aHost

- (void)awakeFromNib
{
[self replaceTitle:[self name]];
[mIconView setImage:[self icon]];
}

Expand Down Expand Up @@ -84,11 +83,4 @@ - (IBAction)cancel:(id)sender
[NSApp stopModalWithCode:0];
}

- (void)replaceTitle:(NSString*)name
{
NSString *textString = [mTextDescription stringValue];
NSString *replacementString = [textString stringByReplacingOccurrencesOfString:@"<APPLICATION>" withString:name];
[mTextDescription setStringValue:replacementString];
}

@end

0 comments on commit a4082a0

Please sign in to comment.