summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-09-18 11:31:58 +0100
committerRichard Hughes <richard@hughsie.com>2015-09-18 11:42:19 +0100
commit51ccde3a56103376007681c350fbb64c2422dbd5 (patch)
treeceadd669314380535b17a1236b35404963d3fdb8
parentded6e2392d12f92041b2dc20ab33e55b21a85667 (diff)
downloadappstream-glib-51ccde3a56103376007681c350fbb64c2422dbd5.tar.gz
trivial: Fix display of vetos in the summary page
-rw-r--r--client/as-util.c2
-rw-r--r--libappstream-builder/asb-context.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/as-util.c b/client/as-util.c
index aedb47d..e0aaae9 100644
--- a/client/as-util.c
+++ b/client/as-util.c
@@ -1637,7 +1637,7 @@ as_util_status_html_write_app (AsApp *app, GString *html, AsUtilDistro distro)
if (tmp2 != NULL)
*tmp2 = '\0';
g_string_append_printf (html, "<tr><td class=\"alt\">%s</td>"
- "<td><a href=\"#%s\">%s</a></td></tr>\n",
+ "<td><a href=\"#%s.desktop\">%s</a></td></tr>\n",
"Extends", tmp, tmp);
}
g_free (tmp);
diff --git a/libappstream-builder/asb-context.c b/libappstream-builder/asb-context.c
index e6214c4..de460de 100644
--- a/libappstream-builder/asb-context.c
+++ b/libappstream-builder/asb-context.c
@@ -1012,8 +1012,8 @@ asb_context_detect_missing_parents (AsbContext *ctx, GError **error)
continue;
/* do not add the addon */
- as_app_add_veto (app, "%s has no parent of '%s'\n",
- as_app_get_id (app), tmp);
+ as_app_add_veto (app, "%s has no parent of '%s'",
+ as_app_get_id (app), tmp);
g_print ("WARNING: %s has no parent of '%s'\n",
as_app_get_id (app), tmp);
}