From: <ho...@us...> - 2010-10-12 17:45:51
|
Revision: 17230 http://bibdesk.svn.sourceforge.net/bibdesk/?rev=17230&view=rev Author: hofman Date: 2010-10-12 17:45:45 +0000 (Tue, 12 Oct 2010) Log Message: ----------- always set proxy icon in web group view when main frame finishes loading, as it may come from a history navigation Modified Paths: -------------- trunk/bibdesk/BDSKWebGroupViewController.m Modified: trunk/bibdesk/BDSKWebGroupViewController.m =================================================================== --- trunk/bibdesk/BDSKWebGroupViewController.m 2010-10-12 17:21:34 UTC (rev 17229) +++ trunk/bibdesk/BDSKWebGroupViewController.m 2010-10-12 17:45:45 UTC (rev 17230) @@ -447,8 +447,7 @@ } if (frame == [sender mainFrame]) { - if ([[(BDSKIconTextFieldCell *)[urlField cell] icon] isEqual:[NSImage missingFileImage]]) - [(BDSKIconTextFieldCell *)[urlField cell] setIcon:[NSImage imageNamed:@"Bookmark"]]; + [(BDSKIconTextFieldCell *)[urlField cell] setIcon:[sender mainFrameIcon] ?: [NSImage imageNamed:@"Bookmark"]]; } if (frame == loadingWebFrame) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |