Skip to content


default-applications: Use more common icon names for Office documents
Browse files Browse the repository at this point in the history
"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:
$ find /usr/share/icons/ -name office-document.* | wc -l
$ find /usr/share/icons/ -name x-office-document.* | wc -l

Thus, using the prefixed variant seems like a better choice.
  • Loading branch information
cwendling authored and lukefromdc committed Feb 2, 2019
1 parent 3047735 commit a62f043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions capplets/default-applications/mate-da-capplet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"},

Expand Down

0 comments on commit a62f043

Please sign in to comment.