[gnome-software/wip/rancell/snap-auth-3-20-rebase: 7/34] Format update descriptions to be suitable for Ubuntu.



commit d8e915252094bef1dc746516eae9cc4344d14f33
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Mar 15 14:12:13 2016 +1300

    Format update descriptions to be suitable for Ubuntu.
    
    Don't show the update descriptions on the updates page - it's too complex to fit.
    Don't try and use markup - it doesn't work well with the information sourced from debian/changelog.

 src/gs-app-row.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index cf08a35..954b023 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -83,15 +83,6 @@ gs_app_row_get_description (GsAppRow *app_row)
        GsAppRowPrivate *priv = gs_app_row_get_instance_private (app_row);
        const gchar *tmp = NULL;
 
-       /* convert the markdown update description into PangoMarkup */
-       if (priv->show_update &&
-           (gs_app_get_state (priv->app) == AS_APP_STATE_UPDATABLE ||
-            gs_app_get_state (priv->app) == AS_APP_STATE_UPDATABLE_LIVE)) {
-               tmp = gs_app_get_update_details (priv->app);
-               if (tmp != NULL && tmp[0] != '\0')
-                       return g_string_new (tmp);
-       }
-
        if (gs_app_get_state (priv->app) == AS_APP_STATE_UNAVAILABLE)
                return g_string_new (gs_app_get_summary_missing (priv->app));
 


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