summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Maldonado Ventura <[email protected]>2020-10-04 12:24:56 +0200
committerraveit65 <[email protected]>2020-10-04 12:27:06 +0200
commit1755bb5ea13f39262d7de040bb3c7f6d797f9560 (patch)
tree655c93bcd68f604e7ecab1525fedebc1489dce28
parente02c3057cfe4801206e0b1dadbe68588a4e5d55c (diff)
downloadmate-control-center-1755bb5ea13f39262d7de040bb3c7f6d797f9560.tar.bz2
mate-control-center-1755bb5ea13f39262d7de040bb3c7f6d797f9560.tar.xz
Default applications: Add flac/x-flac format (mime-type) for media
-rw-r--r--capplets/default-applications/mate-da-capplet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/default-applications/mate-da-capplet.c b/capplets/default-applications/mate-da-capplet.c
index 1e85e9b6..05f11001 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/capplets/default-applications/mate-da-capplet.c
@@ -100,6 +100,8 @@ set_changed(GtkComboBox* combo, MateDACapplet* capplet, GList* list, gint type)
break;
case DA_TYPE_MEDIA:
+ g_app_info_set_as_default_for_type(item, "audio/flac", NULL);
+ g_app_info_set_as_default_for_type(item, "audio/x-flac", NULL);
g_app_info_set_as_default_for_type(item, "audio/mpeg", NULL);
g_app_info_set_as_default_for_type(item, "audio/x-mpegurl", NULL);
g_app_info_set_as_default_for_type(item, "audio/x-scpls", NULL);