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

formatting.  Added text field and buttons.
	* Source/GSToolbarCustomizationPalette.m: Added reset button and
	done button. 
	* Source/NSToolbarFrameworkPrivate.h: Added _resetConfig method.
	* Source/NSToolbar.m: Added _resetConfig method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28112 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-03-21 16:14:46 +00:00
parent 56c852e9be
commit 405c40fedc
6 changed files with 28 additions and 1 deletions

View file

@ -949,6 +949,15 @@ static GSValidationCenter *vc = nil;
[_toolbarView _reload];
}
- (void) _resetConfig
{
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSString *tableKey =
[NSString stringWithFormat: @"NSToolbar Config %@",_identifier];
[defaults removeObjectForKey: tableKey];
[self _build];
}
- (BOOL) usesStandardBackgroundColor
{
return [_toolbarView _usesStandardBackgroundColor];