[gnome-software] Use the summary instead of the description in app lists



commit 903ee5bc4a4473599d1ae4f62bcec7745d89d23e
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Mon May 7 13:23:59 2018 +0200

    Use the summary instead of the description in app lists
    
    App lists (Installed and Updates pages) look a bit crowded because the
    description is being used and its text is usually long.
    
    This patch simply tries to use the apps' summary instead of the
    description in the app rows, which makes the UI look much cleaner in
    the mentioned pages.

 src/gs-app-row.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index 4b10be64..d114e2dd 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -93,10 +93,10 @@ gs_app_row_get_description (GsAppRow *app_row)
        }
 
        /* try all these things in order */
-       if (tmp == NULL || (tmp != NULL && tmp[0] == '\0'))
-               tmp = gs_app_get_description (priv->app);
        if (tmp == NULL || (tmp != NULL && tmp[0] == '\0'))
                tmp = gs_app_get_summary (priv->app);
+       if (tmp == NULL || (tmp != NULL && tmp[0] == '\0'))
+               tmp = gs_app_get_description (priv->app);
        if (tmp == NULL || (tmp != NULL && tmp[0] == '\0'))
                tmp = gs_app_get_name (priv->app);
        if (tmp == NULL)


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