-
Committer:
Giovanni Campagna
-
Date:
2011-12-02 14:45:05 UTC
-
Revision ID:
gcampagna@src.gnome.org-20111202144505-bczn05wcpjrrm31c
Don't use apt_pkg to format sizes
apt_pkg may not be available everywhere. Instead, we can use
GLib.format_size, and get directly the display string.
Also, add a reasonable fallback for converting URIs to cache
filenames.