[gnome-software/gnome-3-22] Do not hide screenshot if the download failed



commit 95cc9cfd9176245751193707849c7fc3e327b34c
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Wed Nov 9 22:59:02 2016 +0100

    Do not hide screenshot if the download failed
    
    Otherwise we will have either just the border of the thumbnail (when
    the thumbnail screenshot also cannot be downloaded/saved) or a
    selected thumbnail screenshot and no bigger screenshot, which looks
    pretty broken.

 src/gs-screenshot-image.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-screenshot-image.c b/src/gs-screenshot-image.c
index 01fbcf4..119ebd9 100644
--- a/src/gs-screenshot-image.c
+++ b/src/gs-screenshot-image.c
@@ -218,7 +218,6 @@ gs_screenshot_image_complete_cb (SoupSession *session,
                /* TRANSLATORS: this is when we try to download a screenshot and
                 * we get back 404 */
                gs_screenshot_image_set_error (ssimg, _("Screenshot not found"));
-               gtk_widget_hide (GTK_WIDGET (ssimg));
                return;
        }
 


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