summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2018-12-04 18:14:31 +0100
committerraveit65 <[email protected]>2018-12-07 11:41:01 +0100
commita61bda02b8789cdcfd5e6a619b381355d62ae554 (patch)
tree7acad68bcf4cae21fa213d3fc3969beb515ad694
parent9a36755d9b4cb87011cdbf69c7ac19ff983b43b0 (diff)
downloadmate-control-center-a61bda02b8789cdcfd5e6a619b381355d62ae554.tar.bz2
mate-control-center-a61bda02b8789cdcfd5e6a619b381355d62ae554.tar.xz
default-applications: Use the selected word processor for RTF as well
-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 2bee7766..450f1e9f 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/capplets/default-applications/mate-da-capplet.c
@@ -132,6 +132,7 @@ set_changed(GtkComboBox* combo, MateDACapplet* capplet, GList* list, gint type)
case DA_TYPE_WORD:
g_app_info_set_as_default_for_type(item, "application/vnd.oasis.opendocument.text", NULL);
+ g_app_info_set_as_default_for_type(item, "application/rtf", NULL);
g_app_info_set_as_default_for_type(item, "application/msword", NULL);
g_app_info_set_as_default_for_type(item, "application/vnd.openxmlformats-officedocument.wordprocessingml.document", NULL);
break;