summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorcxy_uestc <[email protected]>2017-07-16 21:27:29 +0800
committerraveit65 <[email protected]>2017-12-25 17:44:45 +0100
commit0e75912d87eac43c0af8447aff40049f6dacffef (patch)
treefc9134a2101a9166ee3ecc3ceb0c923e67c8c3d6 /capplets
parentb8c56c2983824a337c38fecf6f58a394a1f6b01b (diff)
downloadmate-control-center-0e75912d87eac43c0af8447aff40049f6dacffef.tar.bz2
mate-control-center-0e75912d87eac43c0af8447aff40049f6dacffef.tar.xz
Enable default broswer setting support for text/html
Diffstat (limited to 'capplets')
-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;