From: Kent Sutherland Date: Fri, 5 Aug 2005 02:29:48 +0000 (+0000) Subject: Not worrying about that stupid clicky URL text field for now. X-Git-Tag: MenuTunes-1.6~4 X-Git-Url: http://git.ithinksw.org/ITKit.git/commitdiff_plain/968b842462aa5bd05397b9a4653fd06621a1fb77?hp=d4f63699c141b36ccd7daff2d910e836af76dcfa Not worrying about that stupid clicky URL text field for now. --- diff --git a/English.lproj/AboutBox.nib/classes.nib b/English.lproj/AboutBox.nib/classes.nib index 3d7b813..b5220c8 100644 --- a/English.lproj/AboutBox.nib/classes.nib +++ b/English.lproj/AboutBox.nib/classes.nib @@ -12,8 +12,7 @@ "_window" = NSWindow; }; SUPERCLASS = NSObject; - }, - {CLASS = ITURLTextField; LANGUAGE = ObjC; SUPERCLASS = NSTextField; } + } ); IBVersion = 1; } \ No newline at end of file diff --git a/English.lproj/AboutBox.nib/keyedobjects.nib b/English.lproj/AboutBox.nib/keyedobjects.nib index 33020d8..3522ebf 100644 Binary files a/English.lproj/AboutBox.nib/keyedobjects.nib and b/English.lproj/AboutBox.nib/keyedobjects.nib differ diff --git a/ITAboutBox.h b/ITAboutBox.h index 07ca399..c50e6e7 100644 --- a/ITAboutBox.h +++ b/ITAboutBox.h @@ -14,7 +14,7 @@ { IBOutlet NSImageView *_appIcon; IBOutlet NSTextField *_appName; - IBOutlet ITURLTextField *_companySite; + IBOutlet NSTextField *_companySite; IBOutlet NSTextField *_copyright; IBOutlet NSWindow *_window; } diff --git a/ITAboutBox.m b/ITAboutBox.m index 276fd7d..2b8e05d 100644 --- a/ITAboutBox.m +++ b/ITAboutBox.m @@ -7,7 +7,6 @@ // #import "ITAboutBox.h" -#import "ITURLTextField.h" static ITAboutBox *_sharedController; @@ -35,7 +34,7 @@ static ITAboutBox *_sharedController; [_appName setStringValue:[[NSBundle mainBundle] localizedStringForKey:@"CFBundleShortVersionString" value:@"" table:@"InfoPlist"]]; [_companySite setStringValue:@"http://www.ithinksw.com/"]; - [_companySite setURL:[NSURL URLWithString:@"http://www.ithinksw.com/"]]; + [_copyright setStringValue:[[NSBundle mainBundle] localizedStringForKey:@"NSHumanReadableCopyright" value:@"" table:@"InfoPlist"]]; } diff --git a/ITURLTextField.h b/ITURLTextField.h deleted file mode 100644 index d72791a..0000000 --- a/ITURLTextField.h +++ /dev/null @@ -1,10 +0,0 @@ -/* ITURLTextField */ - -#import - -@interface ITURLTextField : NSTextField -{ - NSURL *_url; -} -- (void)setURL:(NSURL *)url; -@end diff --git a/ITURLTextField.m b/ITURLTextField.m deleted file mode 100644 index 03dcdaa..0000000 --- a/ITURLTextField.m +++ /dev/null @@ -1,33 +0,0 @@ -#import "ITURLTextField.h" - -@implementation ITURLTextField - -- (void)dealloc -{ - [_url release]; - [super dealloc]; -} - -/*- (void)mouseEntered:(NSEvent *)event -{ - NSLog(@"grr"); - [[NSCursor pointingHandCursor] set]; - [super mouseEntered:event]; -} - -- (void)mouseExited:(NSEvent *)event -{ - [[NSCursor arrowCursor] set]; - [super mouseExited:event]; -}*/ - -- (void)setURL:(NSURL *)url -{ - [_url release]; - _url = [url retain]; - - //Make an attributed string for the main stringValue now -// NSAttributedString *string = [[NSAttributedString alloc] initWithString:[self stringValue] attributes:]; -} - -@end