* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Add

connection to _doneButton outlet.
	* Source/GSToolbarCustomizationPalette.m: Added code in init
	to set the state of the size checkbox.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28120 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-03-23 03:57:50 +00:00
parent 37efe84aac
commit bcdfa175b7
3 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2009-03-22 23:57-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Add
connection to _doneButton outlet.
* Source/GSToolbarCustomizationPalette.m: Added code in init
to set the state of the size checkbox.
2009-03-21 12:27-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Added

View file

@ -239,12 +239,23 @@
NSEnumerator *e = nil;
NSString *identifier = nil;
NSToolbarDisplayMode tag = [toolbar displayMode];
NSToolbarSizeMode size = [toolbar sizeMode];
id delegate = [toolbar delegate];
[_allowedItems removeAllObjects];
[_defaultItems removeAllObjects];
[_displayPopup selectItemWithTag: tag];
// Set toolbar size checkbox...
if(size == NSToolbarSizeModeSmall)
{
[_sizeCheckBox setState: NSOnState];
}
else
{
[_sizeCheckBox setState: NSOffState];
}
if (delegate == nil)
{
NSLog(@"The toolbar %@ needs a delegate to allow customization",