Skip to content
Permalink
Browse files

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.
  • Loading branch information...
cwendling authored and lukefromdc committed Jan 30, 2019
1 parent 3047735 commit a62f043eaf3ea3f8da687ecac5365cdf72e94f12
Showing with 2 additions and 2 deletions.
  1. +2 −2 capplets/default-applications/mate-da-capplet.c
@@ -335,8 +335,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"},
{"calculator_image", "accessories-calculator"},
};

0 comments on commit a62f043

Please sign in to comment.
You can’t perform that action at this time.