Changed hot key panel to allow longer hot key names
authorKent Sutherland <ksuther@ithinksw.com>
Thu, 1 Jul 2004 02:59:24 +0000 (02:59 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Thu, 1 Jul 2004 02:59:24 +0000 (02:59 +0000)
English.lproj/ITKeyComboPanel.nib/info.nib
English.lproj/ITKeyComboPanel.nib/objects.nib
ITKeyComboPanel.h
ITKeyComboPanel.m

index d6ed0ab..92bbfc7 100755 (executable)
@@ -3,9 +3,9 @@
 <plist version="1.0">
 <dict>
        <key>IBDocumentLocation</key>
-       <string>109 47 356 240 0 0 1280 1002 </string>
+       <string>94 71 356 240 0 0 1152 746 </string>
        <key>IBFramework Version</key>
-       <string>291.0</string>
+       <string>364.0</string>
        <key>IBGroupedObjects</key>
        <dict>
                <key>10</key>
@@ -21,6 +21,6 @@
                <integer>19</integer>
        </array>
        <key>IBSystem Version</key>
-       <string>6L60</string>
+       <string>7H63</string>
 </dict>
 </plist>
index 570f426..9738afb 100755 (executable)
Binary files a/English.lproj/ITKeyComboPanel.nib/objects.nib and b/English.lproj/ITKeyComboPanel.nib/objects.nib differ
index 85806d4..3df295a 100755 (executable)
@@ -26,7 +26,6 @@
        IBOutlet NSTextField*           mComboField;
        IBOutlet ITKeyBroadcaster*      mKeyBcaster;
 
-       NSString*                               mTitleFormat;
        NSString*                               mKeyName;
        ITKeyCombo*                             mKeyCombo;
 }
index e10ffc0..3f71636 100755 (executable)
@@ -43,15 +43,12 @@ static id _sharedKeyComboPanel = nil;
 {
        [[NSNotificationCenter defaultCenter] removeObserver: self];
        [mKeyName release];
-       [mTitleFormat release];
 
        [super dealloc];
 }
 
 - (void)windowDidLoad
 {
-       mTitleFormat = [[mTitleField stringValue] retain];
-
        [[NSNotificationCenter defaultCenter]
                addObserver: self
                selector: @selector( noteKeyBroadcast: )
@@ -65,7 +62,7 @@ static id _sharedKeyComboPanel = nil;
                [mComboField setStringValue: [mKeyCombo description]];
 
        if( mTitleField )
-               [mTitleField setStringValue: [NSString stringWithFormat: mTitleFormat, mKeyName]];
+               [mTitleField setStringValue:mKeyName];
 }
 
 - (int)runModal