Starting with gtk 2.10.7, drags are canceled when the toolkit-private drag
widget is grab-shadowed by another gtk_grab_add call in the application. This is a
necessary fix to avoid "stuck drag" situations when a modal dialog pops up
while a drag is in progress.
Unfortunately, the mozilla dnd implementation does just that - it calls
gtk_grab_add in the nsDragService::GetTargetDragData method. This causes
drags of mesages from the message list to the folder tree in thunderbird
to fail with gtk 2.10.7.
Fortunately, the gtk_grab_add in nsDragService::GetTargetDragData doesn't
seem to have any real purpose - at least the nsDragService code doesn't
make any use of the grabbing, and just removing the grab_add/grab_remove
calls in that function makes dnd work again in thunderbird.
Patch by Matthias Clasen <mclasen@redhat.com>
r=caillon@redhat.comsr=roc@ocallahan.orga=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@219225 18797224-902f-48f8-a5cc-f745e15eee43