Bug 345538: Can no longer drag extensions or themes into Add-ons manager to install them (drags from outside Mozilla don't work), patch by Michael Wu <michael.wu@mozilla.com>, r+sr=roc

This commit is contained in:
gavin%gavinsharp.com 2006-07-25 21:32:26 +00:00
Родитель 348cf9998f
Коммит 182f0345f7
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -2274,9 +2274,12 @@ nsWindow::OnDragMotionEvent(GtkWidget *aWidget,
event.type = GDK_BUTTON_RELEASE;
event.button.time = mLastButtonReleaseTime;
event.button.button = 1;
mLastButtonReleaseTime = 0;
if (widget) {
g_signal_emit_by_name(widget, "button_release_event", &event, &retval);
return TRUE;
}
}
sIsDraggingOutOf = PR_FALSE;