/[gnustep]/gnustep/usr-apps/gworkspace/Viewers/SmallIconsViewer/SmallIconsPanel.m
ViewVC logotype

Diff of /gnustep/usr-apps/gworkspace/Viewers/SmallIconsViewer/SmallIconsPanel.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by esersale, Tue Sep 30 15:38:06 2003 UTC revision 1.5 by esersale, Sat Oct 4 14:45:19 2003 UTC
# Line 493  if (s.height > maxr.size.height) s.heigh Line 493  if (s.height > maxr.size.height) s.heigh
493      SmallIcon *icon = [icons objectAtIndex: i];          SmallIcon *icon = [icons objectAtIndex: i];    
494            
495      if ([[icon path] isEqual: path]) {      if ([[icon path] isEqual: path]) {
496          NSRect irect = [icon frame];  
497          irect.origin.y -= ICON_FRAME_MARGIN;
498          irect.size.height += ICON_FRAME_MARGIN * 2;
499        [icon select];        [icon select];
500                            [self scrollRectToVisible: irect];            
501        return;        return;
502      }      }
503    }    }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26