mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:50:48 +00:00
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:
parent
f4571a026a
commit
6f3f7be33c
3 changed files with 15 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -1586,4 +1586,8 @@ NSString *GSMovableToolbarItemPboardType = @"GSMovableToolbarItemPboardType";
|
|||
return new;
|
||||
}
|
||||
|
||||
- (NSString *) description
|
||||
{
|
||||
return [NSString stringWithFormat: @"<%@ - <%@>>",[super description],[self itemIdentifier]];
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue