From 968b842462aa5bd05397b9a4653fd06621a1fb77 Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Fri, 5 Aug 2005 02:29:48 +0000 Subject: [PATCH] Not worrying about that stupid clicky URL text field for now. --- English.lproj/AboutBox.nib/classes.nib | 3 +- English.lproj/AboutBox.nib/keyedobjects.nib | Bin 4700 -> 4590 bytes ITAboutBox.h | 2 +- ITAboutBox.m | 3 +- ITURLTextField.h | 10 ------ ITURLTextField.m | 33 -------------------- 6 files changed, 3 insertions(+), 48 deletions(-) delete mode 100644 ITURLTextField.h delete mode 100644 ITURLTextField.m 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 33020d89086cabd5c0a5ef88630060710d8e5746..3522ebfbd173aacc70a798bd00cb8724f42a43f2 100644 GIT binary patch delta 1915 zcmZ{jd2kg)9>@DP-90ls-95a-f~RCd3?TxB5Uv~$gn%K(OUS_^oG*k(V)C}wM>d2b zAif5IA|e%hiWjKdawsB4WK&dRT_t2({$6+&ULF-^EY=iA+1?+&G@Dl8T-LMB< zf&Fl>qF-pi+_|Scu}Go=McOB>Sk%lsoKb!#yfO`8l}cZ zHsCj`aSEw>RqlaGa-5_NSMkbtA5B41(KIw2%|N}-Occ=LJgP#oQ8oHfaXkhz6{pf7 zE7;)hWpo9dLyOS2s9D7-uNta`s8rQEmL%SQljs4oOj|sNuA~2<<>*G=ad#r5hN+ks z9v3KHFeg}3o!?j;s;LcB&6)SBhU!qWKiE`z5|yA*Eh_^9F!G}zDqW5I8L*z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xeTw^3`<8y=(E*lz4Fb{Yf5ps~x?W4vS>G5%p3H{LehF@B~u(Ri9d zb7&DQryjbBcG18Fx`p=9ZS-;4PoJdQ=?=P+4$<9oFFit!(v$RkdX9cV|3|+yWz#e# zn3K%OW}=yDrkNRLrkQ2h%mQ)A%OiT#-k zuzllYf&HIdWLJ0ukK_~hM1C8O;?X>o$MXc9$dh<7PvMz-F)!t1 z+{r6=6?gF(Ud!vbhkLn?H*!BOTE&}rE5Da_@HM=Xck>?p0N=zP;(dH85Aq%SY5oj< Uj_*U^AxUF992(nito+U2046gC-~a#s 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 -- 2.20.1