From c752109f760fd2669ecc210c0cdc98de8c6dc4d7 Mon Sep 17 00:00:00 2001 From: cxy_uestc Date: Sun, 16 Jul 2017 21:27:29 +0800 Subject: Enable default broswer setting support for text/html --- capplets/default-applications/mate-da-capplet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'capplets/default-applications/mate-da-capplet.c') 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; -- cgit v1.2.1