mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:50:38 +00:00
* 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:
parent
56c852e9be
commit
405c40fedc
6 changed files with 28 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue