[gnome-software] Show summary if description is missing



commit 2382131e682b001680aef382d8f036716531ea74
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 23 08:37:54 2013 -0400

    Show summary if description is missing
    
    Otherwise, there's too many gaps in the installed list.

 src/gs-app-widget.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app-widget.c b/src/gs-app-widget.c
index beeba5c..80199ce 100644
--- a/src/gs-app-widget.c
+++ b/src/gs-app-widget.c
@@ -109,6 +109,9 @@ gs_app_widget_refresh (GsAppWidget *app_widget)
                _g_string_replace (s, "\n", " ");
                tmp = s->str;
        }
+        else {
+                tmp = (gchar *)gs_app_get_summary (app_widget->priv->app);
+        }
        gtk_label_set_label (GTK_LABEL (priv->widget_description), tmp);
         if (s)
                 g_string_free (s, TRUE);


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