summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2019-01-30 16:02:34 +0100
committerlukefromdc <[email protected]>2019-02-02 00:26:32 +0000
commita62f043eaf3ea3f8da687ecac5365cdf72e94f12 (patch)
treef8210dacee483698a024777142c41c0f88ccb645
parent30477355adfa87fe81f66d63f8d3a585fb8adb35 (diff)
downloadmate-control-center-a62f043eaf3ea3f8da687ecac5365cdf72e94f12.tar.bz2
mate-control-center-a62f043eaf3ea3f8da687ecac5365cdf72e94f12.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.
-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 4eb318a3..1ecde4c0 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/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"},
};