Revision: 12377
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12377&view=rev
Author:   hofman
Date:     2008-01-08 16:59:32 -0800 (Tue, 08 Jan 2008)

Log Message:
-----------
Proper way to get the icons. Properly handled null URLs.

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView.m        2008-01-09 
00:46:27 UTC (rev 12376)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView.m        2008-01-09 
00:59:32 UTC (rev 12377)
@@ -2045,7 +2045,7 @@
 - (void)moveToBeginningOfLine:(id)sender;
 {
     if ([_selectedIndexes count] == 1) {
-        FVIcon *anIcon = [self _cachedIconForURL:[[self iconURLs] 
objectAtIndex:[_selectedIndexes firstIndex]]];
+        FVIcon *anIcon = [self _cachedIconForURL:[self 
iconURLAtIndex:[_selectedIndexes firstIndex]]];
         if ([anIcon currentPageIndex] > 1) {
             [anIcon showPreviousPage];
             [self _redisplayIconAfterPageChanged:anIcon];
@@ -2056,7 +2056,7 @@
 - (void)moveToEndOfLine:(id)sender;
 {
     if ([_selectedIndexes count] == 1) {
-        FVIcon *anIcon = [self _cachedIconForURL:[[self iconURLs] 
objectAtIndex:[_selectedIndexes firstIndex]]];
+        FVIcon *anIcon = [self _cachedIconForURL:[self 
iconURLAtIndex:[_selectedIndexes firstIndex]]];
         if ([anIcon currentPageIndex] < [anIcon pageCount]) {
             [anIcon showNextPage];
             [self _redisplayIconAfterPageChanged:anIcon];


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to