Revision: 11511
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11511&view=rev
Author: hofman
Date: 2007-11-09 11:50:57 -0800 (Fri, 09 Nov 2007)
Log Message:
-----------
Don't try to resolve the parent window of a drawer as it is not publicly
accessible.
Modified Paths:
--------------
trunk/bibdesk/BDSKBookmarkController.m
Modified: trunk/bibdesk/BDSKBookmarkController.m
===================================================================
--- trunk/bibdesk/BDSKBookmarkController.m 2007-11-09 19:41:04 UTC (rev
11510)
+++ trunk/bibdesk/BDSKBookmarkController.m 2007-11-09 19:50:57 UTC (rev
11511)
@@ -818,12 +818,9 @@
NSString *URLString = [[[datasource request] URL] absoluteString];
NSString *name = [datasource pageTitle];
if(name == nil) name = [URLString lastPathComponent];
- NSWindow *window = [self window];
- if ([window parentWindow] && [window isSheet] == NO)
- window = [window parentWindow];
if (URLString)
- [[BDSKBookmarkController sharedBookmarkController]
addBookmarkWithUrlString:URLString name:name modalForWindow:window];
+ [[BDSKBookmarkController sharedBookmarkController]
addBookmarkWithUrlString:URLString name:name modalForWindow:[self window]];
}
@end
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