[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 326/331] Format update descriptions to be suitable for Ubuntu.
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 326/331] Format update descriptions to be suitable for Ubuntu.
- Date: Wed, 4 May 2016 14:25:56 +0000 (UTC)
commit 903362935fe6d9d58f877bac5a3e5eee92c886ac
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 b40dab0..d584981 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]