Fixes to correct issues with toolbar pallete customization.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28083 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2009-03-16 05:25:22 +00:00
parent 1ba10abc25
commit e1b4fe3b38
3 changed files with 15 additions and 2 deletions

View file

@ -401,9 +401,10 @@ static void initSystemExtensionsColors(void)
if(index == -1)
{
[toolbar _insertPassivelyItem:item atIndex: newIndex];
[toolbar _insertItemWithItemIdentifier: [item itemIdentifier]
atIndex: newIndex
broadcast: YES];
RELEASE(item);
[toolbar _moveItemFromIndex: newIndex toIndex: newIndex broadcast: YES];
}
else
{