[gnome-software] Do not show the description header when there is no	description
- From: Richard Hughes <rhughes src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-software] Do not show the description header when there is no	description
 
- Date: Mon,  7 Oct 2013 13:17:07 +0000 (UTC)
 
commit 32b752246ede905581360a5c12d740d69ab5fe12
Author: Richard Hughes <richard hughsie com>
Date:   Mon Oct 7 14:12:47 2013 +0100
    Do not show the description header when there is no description
 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 ab830d1..c3121d5 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -263,6 +263,8 @@ gs_shell_details_set_app (GsShellDetails *shell_details, GsApp *app)
        } else {
                gtk_widget_set_visible (widget, FALSE);
        }
+       widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, 
"application_details_description_header"));
+       gtk_widget_set_visible (widget, tmp != NULL);
 
        pixbuf = gs_app_get_pixbuf (app);
        widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "application_details_icon"));
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]