summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2019-01-30 16:02:34 +0100
committermonsta <[email protected]>2019-05-31 15:58:19 +0300
commit0ad3c33683afd5bfaa60bae69b47e60bc9cbb826 (patch)
tree53d8af72c217e615886aca4259f385061bf8c369 /capplets
parentb7bc9d843a54afa1e357ff917d43aa379fb36f8a (diff)
downloadmate-control-center-0ad3c33683afd5bfaa60bae69b47e60bc9cbb826.tar.bz2
mate-control-center-0ad3c33683afd5bfaa60bae69b47e60bc9cbb826.tar.xz
default-applications: Use more common icon names for Office documents
"x-office-document" and "x-office-spreadsheet" are more common MIME icon names than their counterparts without the "x-" prefix. The latter seems not to even be available in "MATE" icon theme, but only in "Faenza" icon theme. The "x-"-prefixed variant on the other hand is available even in theme providing the unprefixed ones, meaning it will sill work with these. On my machine with not many themes, but only standard-ish ones: ```console $ find /usr/share/icons/ -name office-document.* | wc -l 8 $ find /usr/share/icons/ -name x-office-document.* | wc -l 54 ``` Thus, using the prefixed variant seems like a better choice.
Diffstat (limited to 'capplets')
-rw-r--r--capplets/default-applications/mate-da-capplet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/default-applications/mate-da-capplet.c b/capplets/default-applications/mate-da-capplet.c
index b3c21fb9..a22013dc 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/capplets/default-applications/mate-da-capplet.c
@@ -323,8 +323,8 @@ static struct {
{"text_image", "text-editor"},
{"terminal_image", "terminal"},
{"document_image", "application-pdf"},
- {"word_image", "office-document"},
- {"spreadsheet_image", "office-spreadsheet"},
+ {"word_image", "x-office-document"},
+ {"spreadsheet_image", "x-office-spreadsheet"},
};
/* Callback for icon theme change */