[gnome-software] details: Hide screenshot placeholder for input methods and langpacks
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] details: Hide screenshot placeholder for input methods and langpacks
- Date: Sun, 27 Nov 2016 14:07:35 +0000 (UTC)
commit fd8ecba84b001b7ddca484b79e9ebf8ca1eec950
Author: Kalev Lember <klember redhat com>
Date: Sun Nov 27 15:04:47 2016 +0100
details: Hide screenshot placeholder for input methods and langpacks
These never have screenshots so it doesn't make sense to show a
placeholder either.
src/gs-shell-details.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 787afe3..25f12d1 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -577,6 +577,8 @@ gs_shell_details_refresh_screenshots (GsShellDetails *self)
case AS_APP_KIND_SOURCE:
case AS_APP_KIND_FIRMWARE:
case AS_APP_KIND_DRIVER:
+ case AS_APP_KIND_INPUT_METHOD:
+ case AS_APP_KIND_LOCALIZATION:
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]