also send the bookmark drag flavor so that other applications (dragThing, etc) can get both the url and the title (rev sdagley, appr sdagley).

git-svn-id: svn://10.0.0.236/trunk@820 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton 1998-04-29 00:57:11 +00:00
parent bdde74a642
commit 241c685bdb

View File

@ -184,12 +184,19 @@ CIconTextDragTask :: AddFlavorForItem ( DragReference inDragRef, ItemReference i
const CIconTextSuite* inItem )
{
#pragma unused (inDragRef)
// ...register standard bookmark flavors
AddFlavorBookmarkFile(inItemRef);
AddFlavorURL(inItemRef);
AddFlavorHTNode(inItemRef, inItem->GetHTNodeData());
string urlAndTitle = HT_GetNodeURL(inItem->GetHTNodeData());
if ( inItem->IconText().length() ) {
urlAndTitle += "\r";
urlAndTitle += inItem->IconText().c_str();
}
AddFlavorBookmark ( inItemRef, urlAndTitle.c_str() );
} // AddFlavorForItem