mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
webloc file cannot be opened by drag and drop into open tab/window, patch by Stan Shebs. b=358340 r=smorgan r=josh sr=roc
This commit is contained in:
parent
b63685e8ba
commit
589fd83f44
@ -389,7 +389,10 @@ nsDragService::GetData(nsITransferable* aTransferable, PRUint32 aItemIndex)
|
||||
break;
|
||||
}
|
||||
|
||||
if (flavorStr.EqualsLiteral(kUnicodeMime)) {
|
||||
if (flavorStr.EqualsLiteral(kUnicodeMime) ||
|
||||
flavorStr.EqualsLiteral(kURLMime) ||
|
||||
flavorStr.EqualsLiteral(kURLDataMime) ||
|
||||
flavorStr.EqualsLiteral(kURLDescriptionMime)) {
|
||||
NSString* pString = [globalDragPboard stringForType:NSStringPboardType];
|
||||
if (!pString)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user