[gnome-software] trivial: Do not show the screenshot missing UI for sources



commit fd283615526f89ad21a9902877d43ae107f3162f
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jul 26 09:35:42 2016 +0100

    trivial: Do not show the screenshot missing UI for sources

 src/gs-shell-details.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 8c50189..cdc7a84 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -569,6 +569,7 @@ gs_shell_details_refresh_screenshots (GsShellDetails *self)
        switch (gs_app_get_kind (self->app)) {
        case AS_APP_KIND_CODEC:
        case AS_APP_KIND_ADDON:
+       case AS_APP_KIND_SOURCE:
                gtk_widget_set_visible (self->box_details_screenshot_fallback, FALSE);
                break;
        default:


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