mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:50:37 +00:00
Add some more KVB and move some.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25746 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4590c33681
commit
0b14647109
3 changed files with 51 additions and 14 deletions
|
@ -68,9 +68,7 @@ static Class textFieldCellClass;
|
|||
nc = [NSNotificationCenter defaultCenter];
|
||||
|
||||
[self exposeBinding: NSEditableBinding];
|
||||
[self exposeBinding: NSEnabledBinding];
|
||||
[self exposeBinding: NSAlignmentBinding];
|
||||
[self exposeBinding: NSFontBinding];
|
||||
[self exposeBinding: NSTextColorBinding];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -766,16 +764,6 @@ static Class textFieldCellClass;
|
|||
options: options
|
||||
fromObject: self];
|
||||
}
|
||||
else if ([binding hasPrefix: NSEnabledBinding])
|
||||
{
|
||||
[self unbind: binding];
|
||||
[[GSKeyValueAndBinding alloc] initWithBinding: NSEnabledBinding
|
||||
withName: binding
|
||||
toObject: anObject
|
||||
withKeyPath: keyPath
|
||||
options: options
|
||||
fromObject: self];
|
||||
}
|
||||
else
|
||||
{
|
||||
[super bind: binding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue