fix an app desc issue

This commit is contained in:
guinux 2017-09-23 10:10:11 +02:00
parent fe7ca5a6fd
commit 8f19ea1887

View File

@ -932,8 +932,9 @@ namespace Pamac {
if (matching_apps.length == 1) { if (matching_apps.length == 1) {
As.App app = matching_apps[0]; As.App app = matching_apps[0];
app_name = get_app_name (app); app_name = get_app_name (app);
desc = get_app_summary (app);
try { try {
desc = As.markup_convert_simple (get_app_description (app)); long_desc = As.markup_convert_simple (get_app_description (app));
} catch (Error e) { } catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf ("Error: %s\n", e.message);
} }