Camino only - Bookmark bar separator shows title during drag. Patch by smorgan <stuart.morgan@alumni.case.edu> r=me sr=pink b=355851

This commit is contained in:
stridey%gmail.com 2006-10-10 17:52:55 +00:00
Родитель 01ba2ccbb8
Коммит 3e1fc8167d
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -320,7 +320,8 @@
// deallocated too soon. This occurs with SDK >= 10.3, but not earlier. // deallocated too soon. This occurs with SDK >= 10.3, but not earlier.
// Change in cleanup strategy? Hold on tight. // Change in cleanup strategy? Hold on tight.
[[self retain] autorelease]; [[self retain] autorelease];
[self dragImage: [MainController createImageForDragging:[self image] title:title] [self dragImage: [MainController createImageForDragging:[self image]
title:([item isSeparator] ? @"" : title)]
at: NSMakePoint(0,NSHeight([self bounds])) offset: NSMakeSize(0,0) at: NSMakePoint(0,NSHeight([self bounds])) offset: NSMakeSize(0,0)
event: aEvent pasteboard: pboard source: self slideBack: YES]; event: aEvent pasteboard: pboard source: self slideBack: YES];
} }