summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2018-12-04 18:14:31 +0100
committerraveit65 <[email protected]>2018-12-07 11:38:52 +0100
commita8d6bbbcd905b2a598ede612e15ccc8febd24341 (patch)
tree5b4c47a662c55a6addb5b7937f032c5af5d0ea52
parente28a0d886ff63b1b9d3373acb3f9c65cb343ecdf (diff)
downloadmate-control-center-a8d6bbbcd905b2a598ede612e15ccc8febd24341.tar.bz2
mate-control-center-a8d6bbbcd905b2a598ede612e15ccc8febd24341.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;