mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-04-23 23:48:46 +00:00
* GSWDatabase/WODisplayGroup.m
uncomment the right method, and use an NSIndexSet where needed instead of NSArray git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36690 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d961ca7dcb
commit
f9d0bab383
2 changed files with 19 additions and 14 deletions
|
@ -13,6 +13,9 @@
|
|||
39088
|
||||
* GSWeb/GSWProcFS.m
|
||||
fix a format string
|
||||
* GSWDatabase/WODisplayGroup.m
|
||||
uncomment the right method, and use an NSIndexSet
|
||||
where needed instead of NSArray
|
||||
|
||||
2013-05-30: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
* GSWeb/GSWElement.h
|
||||
|
|
|
@ -1229,13 +1229,14 @@ shouldRedisplayForEditingContextChangeNotification:notification];
|
|||
return (_savedAllObjects!=nil);
|
||||
}
|
||||
|
||||
////Deprecated
|
||||
//--------------------------------------------------------------------
|
||||
-(void)editingContext:(EOEditingContext*)editingContext
|
||||
presentErrorMessage:(NSString*)message
|
||||
{
|
||||
[self _presentAlertWithTitle:@"Editing Context Error"
|
||||
message:message];
|
||||
}
|
||||
//-(void)editingContext:(EOEditingContext*)editingContext
|
||||
// presentErrorMessage:(NSString*)message
|
||||
//{
|
||||
// [self _presentAlertWithTitle:@"Editing Context Error"
|
||||
// message:message];
|
||||
//}
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
// insert
|
||||
|
@ -2102,7 +2103,9 @@ createObjectFailedForDataSource:_dataSource];
|
|||
else
|
||||
sortedSelection = [NSArray array];
|
||||
|
||||
selectedObjects = [[[_displayedObjects objectsAtIndexes:sortedSelection] mutableCopy]autorelease];
|
||||
selectedObjects = [[[_displayedObjects objectsAtIndexes:
|
||||
[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, [sortedSelection count])]]
|
||||
mutableCopy]autorelease];
|
||||
isSelectedObjectsChanged = ![selectedObjects isEqual:_selectedObjects];
|
||||
isSelectionChanged = ![sortedSelection isEqual:_selection];
|
||||
if (!isSelectionChanged && !isSelectedObjectsChanged)
|
||||
|
@ -2315,13 +2318,12 @@ createObjectFailedForDataSource:_dataSource];
|
|||
}
|
||||
}
|
||||
|
||||
////Deprecated
|
||||
//-(void)editingContext:(EOEditingContext*)editingContext
|
||||
// presentErrorMessage:(NSString*)message
|
||||
//{
|
||||
// [self _presentAlertWithTitle:@"Editing context error"
|
||||
// message:message];
|
||||
//}
|
||||
-(void)editingContext:(EOEditingContext*)editingContext
|
||||
presentErrorMessage:(NSString*)message
|
||||
{
|
||||
[self _presentAlertWithTitle:@"Editing context error"
|
||||
message:message];
|
||||
}
|
||||
|
||||
-(void)_presentAlertWithTitle:(NSString*)title
|
||||
message:(NSString*)message
|
||||
|
|
Loading…
Reference in a new issue