git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14786 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
dwetzel 2002-10-15 09:26:15 +00:00
parent b3a7b6fa62
commit e2ec77245b

View file

@ -130,28 +130,6 @@ static char rcsId[] = "$Id$";
//==================================================================== //====================================================================
@implementation GSWBrowser (GSWBrowserA) @implementation GSWBrowser (GSWBrowserA)
// PRIVATE!
-(void) _setValues:(NSArray*)mutableFoundValues inArray:(NSMutableArray*)selectionsValue
{
NSEnumerator *myEnumer;
id currentObj;
myEnumer = [[[selectionsValue copy] autorelease] objectEnumerator];
while (currentObj = [myEnumer nextObject]) {
if ([mutableFoundValues containsObject:currentObj]==NO) {
[selectionsValue removeObject:currentObj];
}
}
myEnumer = [mutableFoundValues objectEnumerator];
while (currentObj = [myEnumer nextObject]) {
if ([selectionsValue containsObject:currentObj]==NO) {
[selectionsValue addObject:currentObj];
}
}
}
/* /*
On WO it looks like that: On WO it looks like that:
@ -463,17 +441,6 @@ static char rcsId[] = "$Id$";
[_item setValue:itemValue [_item setValue:itemValue
inComponent:component]; inComponent:component];
NSDebugMLLog(@"gswdync",@"value=%@",_value); NSDebugMLLog(@"gswdync",@"value=%@",_value);
/*
valueValue=[self valueInContext:context];
NSLog(@"valueValue is %@",valueValue);
NSDebugMLLog(@"gswdync",@"_valueValue=%@ [class=%@] _formValue=%@ [class=%@]",
valueValue,[valueValue class],
formValue,[formValue class]);
isEqual=SBIsValueIsIn(valueValue,formValue);
if (isEqual)
*/
if ([formValues containsObject:[NSString stringWithFormat:@"%d",i]]) if ([formValues containsObject:[NSString stringWithFormat:@"%d",i]])
{ {
[mutableFoundValues addObject:itemValue]; [mutableFoundValues addObject:itemValue];
@ -491,13 +458,6 @@ static char rcsId[] = "$Id$";
{ {
NS_DURING NS_DURING
{ {
//// selectionsValue=[_selections valueInComponent:component];
// NSLog(@"new _setValues... = %@ (%@)",selectionsValue,[selectionsValue class]);
// [self _setValues:mutableFoundValues
// inArray:selectionsValue];
// NSLog(@"new _setValues done");
[_selections setValue:foundValues [_selections setValue:foundValues
inComponent:component]; inComponent:component];
}; };