do not open untitled document on application start

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29090 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2009-12-01 22:36:28 +00:00
parent 183b008816
commit 07750a7f5f
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2009-12-01 Riccardo Mottola <rmottola@users.sf.net>
* Gorm.m: do not open untitled document on application start
2009-12-01 German Arias <german@xelalug.org>
* GormCore/GormDocument.m: Changes to prevent menus placed off screen

5
Gorm.m
View file

@ -175,6 +175,11 @@
}
}
- (BOOL)applicationShouldOpenUntitledFile: (NSApplication *)sender
{
return NO;
}
- (void) applicationDidFinishLaunching: (NSApplication*)sender
{
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];