GAppInfo: add a mechanism to query supported content types

This essentially adds an accessor for the MimeType field in desktop files,
to retrieve the list of all mime types supported by an application.
The interface though is part of GAppInfo, so it could be implemented
in the future by other backends.

https://bugzilla.gnome.org/show_bug.cgi?id=674111
This commit is contained in:
Giovanni Campagna
2012-04-14 19:34:00 +02:00
parent e011d2c921
commit 0417ddab6f
7 changed files with 67 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ g_app_info_get_description
g_app_info_get_executable
g_app_info_get_commandline
g_app_info_get_icon
g_app_info_get_supported_types
g_app_info_launch
g_app_info_supports_uris
g_app_info_supports_files