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



commit c74f9c402c79282574fbee77bcf20a6daa3d054f
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 20e551d..8a810e8 100644
--- a/src/gs-screenshot-image.c
+++ b/src/gs-screenshot-image.c
@@ -310,7 +310,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]