mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
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:
parent
183b008816
commit
07750a7f5f
2 changed files with 9 additions and 0 deletions
|
@ -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
5
Gorm.m
|
@ -175,6 +175,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (BOOL)applicationShouldOpenUntitledFile: (NSApplication *)sender
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (void) applicationDidFinishLaunching: (NSApplication*)sender
|
||||
{
|
||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||
|
|
Loading…
Reference in a new issue