[gnome-software/wip/rancell/ubuntu-3-20-2: 30/59] Format update descriptions to be suitable for Ubuntu.



commit 126f965f6d9cb5692ae405a478a609a986ec6412
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 389b430..9045a97 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -84,15 +84,6 @@ gs_app_row_get_description (GsAppRow *app_row)
        const gchar *tmp = NULL;
        g_autofree gchar *escaped = 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]