Commit ec7b67a7f2e61fb724afb0aea55476ed6f9ea407

Authored by Colomban Wendling
1 parent b58e1ed6

Add patch to also use the configured Word processor for RTF files

debian/changelog
  1 +mate-control-center (1.16.1-1+hypra3) UNRELEASED; urgency=medium
  2 +
  3 + * debian/patches/rtf.patch: New patch to use the Word processor for
  4 + RTF files as well.
  5 +
  6 + -- Colomban Wendling <cwendling@hypra.fr> Tue, 04 Dec 2018 16:47:05 +0100
  7 +
1 8 mate-control-center (1.16.1-1+hypra2) stretch; urgency=medium
2 9  
3 10 [ Alex ARNAUD ]
... ...
debian/patches/rtf.patch 0 → 100644
... ... @@ -0,0 +1,10 @@
  1 +--- a/capplets/default-applications/mate-da-capplet.c
  2 ++++ b/capplets/default-applications/mate-da-capplet.c
  3 +@@ -131,6 +131,7 @@ set_changed(GtkComboBox* combo, MateDACa
  4 +
  5 + case DA_TYPE_WORD:
  6 + g_app_info_set_as_default_for_type(item, "application/vnd.oasis.opendocument.text", NULL);
  7 ++ g_app_info_set_as_default_for_type(item, "application/rtf", NULL);
  8 + g_app_info_set_as_default_for_type(item, "application/msword", NULL);
  9 + g_app_info_set_as_default_for_type(item, "application/vnd.openxmlformats-officedocument.wordprocessingml.document", NULL);
  10 + break;
... ...
debian/patches/series
... ... @@ -3,3 +3,4 @@
3 3 2002_keybindings_fix_and_add_mnemonics_in_the_custom_command_dialog.patch
4 4 2003_update_frenches_translations.patch
5 5 1006_support-greater-cursor-sizes.patch
  6 +rtf.patch
... ...