git.ithinksw.org
/
ITKit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1c09d56
)
Changed hot key panel to allow longer hot key names
author
Kent Sutherland
<ksuther@ithinksw.com>
Thu, 1 Jul 2004 02:59:24 +0000
(
02:59
+0000)
committer
Kent Sutherland
<ksuther@ithinksw.com>
Thu, 1 Jul 2004 02:59:24 +0000
(
02:59
+0000)
English.lproj/ITKeyComboPanel.nib/info.nib
patch
|
blob
|
history
English.lproj/ITKeyComboPanel.nib/objects.nib
patch
|
blob
|
history
ITKeyComboPanel.h
patch
|
blob
|
history
ITKeyComboPanel.m
patch
|
blob
|
history
diff --git
a/English.lproj/ITKeyComboPanel.nib/info.nib
b/English.lproj/ITKeyComboPanel.nib/info.nib
index
d6ed0ab
..
92bbfc7
100755
(executable)
--- a/
English.lproj/ITKeyComboPanel.nib/info.nib
+++ b/
English.lproj/ITKeyComboPanel.nib/info.nib
@@
-3,9
+3,9
@@
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<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>
<key>IBFramework Version</key>
- <string>
291
.0</string>
+ <string>
364
.0</string>
<key>IBGroupedObjects</key>
<dict>
<key>10</key>
<key>IBGroupedObjects</key>
<dict>
<key>10</key>
@@
-21,6
+21,6
@@
<integer>19</integer>
</array>
<key>IBSystem Version</key>
<integer>19</integer>
</array>
<key>IBSystem Version</key>
- <string>
6L60
</string>
+ <string>
7H63
</string>
</dict>
</plist>
</dict>
</plist>
diff --git
a/English.lproj/ITKeyComboPanel.nib/objects.nib
b/English.lproj/ITKeyComboPanel.nib/objects.nib
index
570f426
..
9738afb
100755
(executable)
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
(executable)
--- a/
ITKeyComboPanel.h
+++ b/
ITKeyComboPanel.h
@@
-26,7
+26,6
@@
IBOutlet NSTextField* mComboField;
IBOutlet ITKeyBroadcaster* mKeyBcaster;
IBOutlet NSTextField* mComboField;
IBOutlet ITKeyBroadcaster* mKeyBcaster;
- NSString* mTitleFormat;
NSString* mKeyName;
ITKeyCombo* mKeyCombo;
}
NSString* mKeyName;
ITKeyCombo* mKeyCombo;
}
diff --git
a/ITKeyComboPanel.m
b/ITKeyComboPanel.m
index
e10ffc0
..
3f71636
100755
(executable)
--- a/
ITKeyComboPanel.m
+++ b/
ITKeyComboPanel.m
@@
-43,15
+43,12
@@
static id _sharedKeyComboPanel = nil;
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[mKeyName release];
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[mKeyName release];
- [mTitleFormat release];
[super dealloc];
}
- (void)windowDidLoad
{
[super dealloc];
}
- (void)windowDidLoad
{
- mTitleFormat = [[mTitleField stringValue] retain];
-
[[NSNotificationCenter defaultCenter]
addObserver: self
selector: @selector( noteKeyBroadcast: )
[[NSNotificationCenter defaultCenter]
addObserver: self
selector: @selector( noteKeyBroadcast: )
@@
-65,7
+62,7
@@
static id _sharedKeyComboPanel = nil;
[mComboField setStringValue: [mKeyCombo description]];
if( mTitleField )
[mComboField setStringValue: [mKeyCombo description]];
if( mTitleField )
- [mTitleField setStringValue:
[NSString stringWithFormat: mTitleFormat, mKeyName]
];
+ [mTitleField setStringValue:
mKeyName
];
}
- (int)runModal
}
- (int)runModal