Improve display of partial extension sizes

The installed size in the metadata refers to the full
extension. If we have subpaths, the actual installed
size may be much smaller. Unfortunately, it appears
hard to obtain the actual size, so just hint at this
fact by displaying a '<' before the size.
tingping/wmclass
Matthias Clasen 2017-04-25 15:24:11 -04:00
parent 3b57b65205
commit 7ad15edb62
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ flatpak_builtin_info (int argc, char **argv, GCancellable *cancellable, GError *
g_autofree char *formatted = NULL;
formatted = g_format_size (size);
g_print (" %s", formatted);
g_print (" %s%s", subpaths && subpaths[0] ? "<" : "", formatted);
}
if (subpaths)