Revision: 11515
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11515&view=rev
Author:   amaxwell
Date:     2007-11-09 13:13:38 -0800 (Fri, 09 Nov 2007)

Log Message:
-----------
Register for notifications even if the file doesn't exist.

Modified Paths:
--------------
    trunk/bibdesk/BDSKBookmarkController.m

Modified: trunk/bibdesk/BDSKBookmarkController.m
===================================================================
--- trunk/bibdesk/BDSKBookmarkController.m      2007-11-09 21:03:06 UTC (rev 
11514)
+++ trunk/bibdesk/BDSKBookmarkController.m      2007-11-09 21:13:38 UTC (rev 
11515)
@@ -87,11 +87,10 @@
                                [bookmarks addObject:bookmark];
                 [bookmark release];
                        }
-            
-            [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleApplicationWillTerminateNotification:) 
name:NSApplicationWillTerminateNotification object:nil];
-            [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleBookmarkChangedNotification:) 
name:BDSKBookmarkChangedNotification object:nil];
-            [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleBookmarkWillBeRemovedNotification:) 
name:BDSKBookmarkWillBeRemovedNotification object:nil];
                }
+        [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleApplicationWillTerminateNotification:) 
name:NSApplicationWillTerminateNotification object:nil];
+        [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleBookmarkChangedNotification:) 
name:BDSKBookmarkChangedNotification object:nil];
+        [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleBookmarkWillBeRemovedNotification:) 
name:BDSKBookmarkWillBeRemovedNotification object:nil];
     }
     return 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to