From 863f2db6112d3a6213ae528e1ee292fcca60dbbc Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 21 Mar 2009 20:07:38 +0100 Subject: [PATCH] Always reset the flag to open the downloaded file --- midori/midori-view.c | 1 + 1 file changed, 1 insertion(+) diff --git a/midori/midori-view.c b/midori/midori-view.c index 93203db3..61545321 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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; } -- 2.39.5