[epiphany] Set downloads that fail as finished



commit 628dd3dc3994f063a257b5b3349cbf7f65d3076f
Author: Garrett Regier <garrett yorba org>
Date:   Tue Jan 7 15:54:27 2014 -0500

    Set downloads that fail as finished
    
    Otherwise we will show a dialog when closing the window
    about unfinished downloads.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703576

 lib/widgets/ephy-download-widget.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/widgets/ephy-download-widget.c b/lib/widgets/ephy-download-widget.c
index e9a03c1..e4bca21 100644
--- a/lib/widgets/ephy-download-widget.c
+++ b/lib/widgets/ephy-download-widget.c
@@ -271,6 +271,7 @@ widget_failed_cb (WebKitDownload *download,
   g_signal_handlers_disconnect_by_func (download, widget_finished_cb, widget);
   g_signal_handlers_disconnect_by_func (download, widget_progress_cb, widget);
 
+  widget->priv->finished = TRUE;
   error_msg = g_strdup_printf (_("Error downloading: %s"), error->message);
   gtk_label_set_text (GTK_LABEL (widget->priv->remaining), error_msg);
   gtk_widget_set_tooltip_text (GTK_WIDGET (widget), error_msg);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]