[gnome-software] trivial: Hide the screenshot thumbnails when showing fonts
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Hide the screenshot thumbnails when showing fonts
- Date: Mon, 28 Oct 2013 13:18:05 +0000 (UTC)
commit dcdea15cd7639e3d199bb6aa1eceed06355095ae
Author: Richard Hughes <richard hughsie com>
Date: Mon Oct 28 13:09:14 2013 +0000
trivial: Hide the screenshot thumbnails when showing fonts
src/gs-shell-details.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 9f72818..b7df7fa 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -264,6 +264,9 @@ gs_shell_details_refresh_screenshots (GsShellDetails *shell_details)
/* treat screenshots differently */
if (gs_app_get_id_kind (priv->app) == GS_APP_ID_KIND_FONT) {
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder,
+ "box_details_screenshot_thumbnails"));
+ gs_container_remove_all (GTK_CONTAINER (widget));
+ widget = GTK_WIDGET (gtk_builder_get_object (priv->builder,
"box_details_screenshot_main"));
gs_container_remove_all (GTK_CONTAINER (widget));
screenshots = gs_app_get_screenshots (priv->app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]