From: Kent Sutherland Date: Thu, 1 Jul 2004 02:59:24 +0000 (+0000) Subject: Changed hot key panel to allow longer hot key names X-Git-Tag: v1.0~16 X-Git-Url: http://git.ithinksw.org/ITKit.git/commitdiff_plain/5cbc248a68de115c0c10fda4a6896b47478000a8 Changed hot key panel to allow longer hot key names --- diff --git a/English.lproj/ITKeyComboPanel.nib/info.nib b/English.lproj/ITKeyComboPanel.nib/info.nib index d6ed0ab..92bbfc7 100755 --- a/English.lproj/ITKeyComboPanel.nib/info.nib +++ b/English.lproj/ITKeyComboPanel.nib/info.nib @@ -3,9 +3,9 @@ IBDocumentLocation - 109 47 356 240 0 0 1280 1002 + 94 71 356 240 0 0 1152 746 IBFramework Version - 291.0 + 364.0 IBGroupedObjects 10 @@ -21,6 +21,6 @@ 19 IBSystem Version - 6L60 + 7H63 diff --git a/English.lproj/ITKeyComboPanel.nib/objects.nib b/English.lproj/ITKeyComboPanel.nib/objects.nib index 570f426..9738afb 100755 Binary files a/English.lproj/ITKeyComboPanel.nib/objects.nib and b/English.lproj/ITKeyComboPanel.nib/objects.nib differ diff --git a/ITKeyComboPanel.h b/ITKeyComboPanel.h index 85806d4..3df295a 100755 --- a/ITKeyComboPanel.h +++ b/ITKeyComboPanel.h @@ -26,7 +26,6 @@ IBOutlet NSTextField* mComboField; IBOutlet ITKeyBroadcaster* mKeyBcaster; - NSString* mTitleFormat; NSString* mKeyName; ITKeyCombo* mKeyCombo; } diff --git a/ITKeyComboPanel.m b/ITKeyComboPanel.m index e10ffc0..3f71636 100755 --- a/ITKeyComboPanel.m +++ b/ITKeyComboPanel.m @@ -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