Not worrying about that stupid clicky URL text field for now.
authorKent Sutherland <ksuther@ithinksw.com>
Fri, 5 Aug 2005 02:29:48 +0000 (02:29 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Fri, 5 Aug 2005 02:29:48 +0000 (02:29 +0000)
English.lproj/AboutBox.nib/classes.nib
English.lproj/AboutBox.nib/keyedobjects.nib
ITAboutBox.h
ITAboutBox.m
ITURLTextField.h [deleted file]
ITURLTextField.m [deleted file]

index 3d7b813..b5220c8 100644 (file)
@@ -12,8 +12,7 @@
                 "_window" = NSWindow; 
             }; 
             SUPERCLASS = NSObject; 
-        }, 
-        {CLASS = ITURLTextField; LANGUAGE = ObjC; SUPERCLASS = NSTextField; }
+        }
     ); 
     IBVersion = 1; 
 }
\ No newline at end of file
index 33020d8..3522ebf 100644 (file)
Binary files a/English.lproj/AboutBox.nib/keyedobjects.nib and b/English.lproj/AboutBox.nib/keyedobjects.nib differ
index 07ca399..c50e6e7 100644 (file)
@@ -14,7 +14,7 @@
 {
        IBOutlet NSImageView *_appIcon;
        IBOutlet NSTextField *_appName;
-       IBOutlet ITURLTextField *_companySite;
+       IBOutlet NSTextField *_companySite;
        IBOutlet NSTextField *_copyright;
        IBOutlet NSWindow *_window;
 }
index 276fd7d..2b8e05d 100644 (file)
@@ -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 (file)
index d72791a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-/* ITURLTextField */
-
-#import <Cocoa/Cocoa.h>
-
-@interface ITURLTextField : NSTextField
-{
-       NSURL *_url;
-}
-- (void)setURL:(NSURL *)url;
-@end
diff --git a/ITURLTextField.m b/ITURLTextField.m
deleted file mode 100644 (file)
index 03dcdaa..0000000
+++ /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