From: Christian Dywan Date: Sat, 21 Mar 2009 19:07:38 +0000 (+0100) Subject: Always reset the flag to open the downloaded file X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=863f2db6112d3a6213ae528e1ee292fcca60dbbc;p=midori Always reset the flag to open the downloaded file --- 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; }