~gcampax/software-center/fedora

Viewing all changes in revision 2578.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: