Skip to content
  • Nelson Ben's avatar
    GtkFileChooser: add a sortable "Type" column · c925221a
    Nelson Ben authored
    along with a new 'type-format' setting that allows
    to choose the output format for the "Type" column.
    The options implemented for this setting are:
    'mime' : Output from g_content_type_get_mime_type().
    'description' : Output from g_content_type_get_description().
    'category' : It uses the corresponding generic icon
      of the mime type to group by categories (aka basic types).
      This produces a more compact output than previous options,
      and allows for type families to be grouped together, so eg.
      after sorting by "Type" column, jpeg and png images will
      be placed together, or the various types of archiver files
      will also be grouped together.
      This format was copied from and currently used by Nautilus
      list view, so we also improve consistency with Nautilus.
      Bugzilla entry for Nautilus implementation is:
      The list of type families or categories can be checked on: