summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcxy_uestc <[email protected]>2017-07-16 21:27:29 +0800
committerraveit65 <[email protected]>2017-12-25 17:43:11 +0100
commitc752109f760fd2669ecc210c0cdc98de8c6dc4d7 (patch)
tree0980e28c2bf357d72defe8c88260bbdbeacae7c0
parent06ea37eef0faa41cdcfbb1ee278ff26778ce7fd7 (diff)
downloadmate-control-center-c752109f760fd2669ecc210c0cdc98de8c6dc4d7.tar.bz2
mate-control-center-c752109f760fd2669ecc210c0cdc98de8c6dc4d7.tar.xz
Enable default broswer setting support for text/html
-rw-r--r--capplets/default-applications/mate-da-capplet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/capplets/default-applications/mate-da-capplet.c b/capplets/default-applications/mate-da-capplet.c
index 63b61a5b..2bee7766 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/capplets/default-applications/mate-da-capplet.c
@@ -77,6 +77,7 @@ set_changed(GtkComboBox* combo, MateDACapplet* capplet, GList* list, gint type)
case DA_TYPE_WEB_BROWSER:
g_app_info_set_as_default_for_type(item, "x-scheme-handler/http", NULL);
g_app_info_set_as_default_for_type(item, "x-scheme-handler/https", NULL);
+ g_app_info_set_as_default_for_type(item, "text/html", NULL);
/* about:config is used by firefox and others */
g_app_info_set_as_default_for_type(item, "x-scheme-handler/about", NULL);
break;