зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
01ba2ccbb8
Коммит
3e1fc8167d
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче