Always reset the flag to open the downloaded file
This commit is contained in:
parent
9e76f7e072
commit
863f2db611
1 changed files with 1 additions and 0 deletions
|
@ -1272,6 +1272,7 @@ webkit_web_view_download_requested_cb (GtkWidget* web_view,
|
|||
gboolean handled;
|
||||
g_object_set_data (G_OBJECT (download), "open-download",
|
||||
g_object_get_data (G_OBJECT (view), "open-download"));
|
||||
g_object_set_data (G_OBJECT (view), "open-download", (gpointer)0);
|
||||
g_signal_emit (view, signals[DOWNLOAD_REQUESTED], 0, download, &handled);
|
||||
return handled;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue