]> spindle.queued.net Git - midori/commitdiff
Always reset the flag to open the downloaded file
authorChristian Dywan <christian@twotoasts.de>
Sat, 21 Mar 2009 19:07:38 +0000 (20:07 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 21 Mar 2009 19:07:38 +0000 (20:07 +0100)
midori/midori-view.c

index 93203db3488e4a12db58648e2203fb392ec0a407..615453211d23e3768ebf06686a840c69b2400f82 100644 (file)
@@ -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;
 }