Skip to content

Commit a62f043

Browse files
cwendlinglukefromdc
authored andcommitted
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.
1 parent 3047735 commit a62f043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

capplets/default-applications/mate-da-capplet.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ static struct {
335335
{"text_image", "text-editor"},
336336
{"terminal_image", "terminal"},
337337
{"document_image", "application-pdf"},
338-
{"word_image", "office-document"},
339-
{"spreadsheet_image", "office-spreadsheet"},
338+
{"word_image", "x-office-document"},
339+
{"spreadsheet_image", "x-office-spreadsheet"},
340340
{"calculator_image", "accessories-calculator"},
341341
};
342342

0 commit comments

Comments
 (0)