mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Updated code in -[Gorm applicationWillTerminate:] to save the state of the inspector/palette when closing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21378 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eb44c977c5
commit
f5c1bcf9e0
4 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-06-30 00:21 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* English.lproj/GormPrefGeneral.gorm: Remove the preferences
|
||||
to manually change if the inspector or palette is shown.
|
||||
* Gorm.m: -[Gorm applicationWillTerminate:] added code to
|
||||
save the inspector and palette state.
|
||||
|
||||
2005-06-20 20:11 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GNUmakefile.preamble: Remove dependency on GL.
|
||||
|
|
Binary file not shown.
Binary file not shown.
12
Gorm.m
12
Gorm.m
|
@ -212,12 +212,12 @@
|
|||
|
||||
- (void) applicationWillTerminate: (NSApplication*)sender
|
||||
{
|
||||
// [[NSUserDefaults standardUserDefaults]
|
||||
// setBool: [[[self inspectorsManager] panel] isVisible]
|
||||
// forKey: @"ShowInspectors"];
|
||||
// [[NSUserDefaults standardUserDefaults]
|
||||
// setBool: [[[self palettesManager] panel] isVisible]
|
||||
// forKey: @"ShowPalettes"];
|
||||
[[NSUserDefaults standardUserDefaults]
|
||||
setBool: [[[self inspectorsManager] panel] isVisible]
|
||||
forKey: @"ShowInspectors"];
|
||||
[[NSUserDefaults standardUserDefaults]
|
||||
setBool: [[[self palettesManager] panel] isVisible]
|
||||
forKey: @"ShowPalettes"];
|
||||
}
|
||||
|
||||
- (BOOL) applicationShouldTerminate: (NSApplication*)sender
|
||||
|
|
Loading…
Reference in a new issue