[gnome-software/wip/hughsie/screenshot-last-modified] Do not hide screenshot if the download failed
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/screenshot-last-modified] Do not hide screenshot if the download failed
- Date: Wed, 9 Nov 2016 22:11:21 +0000 (UTC)
commit 00b6f0195f2ebb11680100fe8bde0152c8b23421
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]