diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-12-15 17:56:22 +0100 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-12-20 15:43:58 +0100 |
commit | 678bcad92c2a6350cd5dbf4ea3a567d99cf4c29d (patch) | |
tree | 79707f3dd66fe11efc8da23e6e1ffd9d019fb490 /docs | |
parent | 01ba7bd8e8984609d411b70a8ac9db4e8b64fb06 (diff) |
appinfo: add g_app_info_set_as_last_used_for_type()
This commit also changes (maintaining compatibility) the way
user-specified default applications are stored (as in, those for which
g_app_info_set_as_default_for_type() has been called.
We now store the default application for a content type in a new group
in the mimeapps.list keyfile, and "Added Associations" tracks only the
applications that have been added by the user, following a
most-recently-used first order.
This is useful in GtkAppChooser-like widgets to pre-select the last used
application when constructing a widget.
https://bugzilla.gnome.org/show_bug.cgi?id=636311
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/gio/gio-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/reference/gio/gio-sections.txt b/docs/reference/gio/gio-sections.txt index 431af131f..2facc2101 100644 --- a/docs/reference/gio/gio-sections.txt +++ b/docs/reference/gio/gio-sections.txt @@ -1256,6 +1256,7 @@ g_app_info_delete g_app_info_reset_type_associations g_app_info_set_as_default_for_type g_app_info_set_as_default_for_extension +g_app_info_set_as_last_used_for_type g_app_info_add_supports_type g_app_info_can_remove_supports_type g_app_info_remove_supports_type |