From 0ad3c33683afd5bfaa60bae69b47e60bc9cbb826 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 30 Jan 2019 16:02:34 +0100 Subject: 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. --- capplets/default-applications/mate-da-capplet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capplets') 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 */ -- cgit v1.2.1