[gnome-software] trivial: Don't show a screenshot placeholder for GENERIC apps
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Don't show a screenshot placeholder for GENERIC apps
- Date: Mon, 16 Jan 2017 15:15:16 +0000 (UTC)
commit f84a51ee659c2edd146de15de6c3dd9f65a5cec2
Author: Kalev Lember <klember redhat com>
Date: Mon Jan 16 16:10:01 2017 +0100
trivial: Don't show a screenshot placeholder for GENERIC apps
These are likely packages without appdata that are shown when another
app calls into us through the org.freedesktop.PackageKit dbus session
interface.
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 e827a7a..cd3358f 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -572,6 +572,7 @@ gs_shell_details_refresh_screenshots (GsShellDetails *self)
/* fallback warning */
screenshots = gs_app_get_screenshots (self->app);
switch (gs_app_get_kind (self->app)) {
+ case AS_APP_KIND_GENERIC:
case AS_APP_KIND_CODEC:
case AS_APP_KIND_ADDON:
case AS_APP_KIND_SOURCE:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]