Revision: 4488
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4488&view=rev
Author:   hofman
Date:     2008-08-31 22:12:13 +0000 (Sun, 31 Aug 2008)

Log Message:
-----------
Revert an earlier commit. Can't pass nib name in document initializer.

Modified Paths:
--------------
    trunk/SKNotesDocument.m

Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m     2008-08-31 22:03:46 UTC (rev 4487)
+++ trunk/SKNotesDocument.m     2008-08-31 22:12:13 UTC (rev 4488)
@@ -72,7 +72,7 @@
 @implementation SKNotesDocument
 
 - (id)init {
-    if (self = [super initWithWindowNibName:@"NotesDocument"]) {
+    if (self = [super init]) {
         notes = [[NSMutableArray alloc] initWithCapacity:10];
     }
     return self;
@@ -83,6 +83,10 @@
     [super dealloc];
 }
 
+- (NSString *)windowNibname {
+    return @"NotesDocument";
+}
+
 - (void)showWindows{
     [super showWindows];
     [[NSNotificationCenter defaultCenter] 
postNotificationName:SKDocumentDidShowNotification object:self];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to