[gnome-software/wip/rancell/ubuntu-3-20-5: 3/27] 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/rancell/ubuntu-3-20-5: 3/27] Format update descriptions to be suitable for Ubuntu.
- Date: Wed, 12 Jul 2017 04:27:12 +0000 (UTC)
commit 7f08ab254695877029e86a3a9cefbcffa2e55a18
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]