summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorJorge Maldonado Ventura <[email protected]>2020-10-04 12:24:56 +0200
committerGitHub <[email protected]>2020-10-04 12:24:56 +0200
commitb5f6a7baf7dbaa547d1f46f9895dcb876e154626 (patch)
treeeec9357cfdc397b287584eb929004c0bef16fa8a /capplets
parent945479ac1a4c37d489bcf70b620e9857ccb3192f (diff)
downloadmate-control-center-b5f6a7baf7dbaa547d1f46f9895dcb876e154626.tar.bz2
mate-control-center-b5f6a7baf7dbaa547d1f46f9895dcb876e154626.tar.xz
Default applications: Add flac/x-flac format (mime-type) for media
Diffstat (limited to 'capplets')
-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 116c5d5a..02db02f5 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);