[gnome-software/wip/ubuntu-3-20: 3/30] Format update descriptions to be suitable for Ubuntu.
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-3-20: 3/30] Format update descriptions to be suitable for Ubuntu.
- Date: Thu, 26 Oct 2017 21:37:25 +0000 (UTC)
commit 1e9e628ceec6f62c4b6b667307420a3c257989b7
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]