Descriptionshell_integration_linux: Follow the XDG Base Directory Specification.
GetDesktopShortcutTemplate now:
- Searches $XDG_DATA_HOME/applications instead of $XDG_DATA_HOME.
- If $XDG_DATA_HOME is not found, falls back to $HOME/.local/share/applications.
- No longer searches $XDG_DATA_DIRS (without /applications).
- Only searches /usr/local/share/applications and /usr/share/applications if
$XDG_DATA_DIRS is not found.
- Searches /usr/local/share/applications before /usr/share/applications.
BUG=179751
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186351
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added link to XDG spec. #
Total comments: 3
Patch Set 3 : Swap /usr/share and /usr/local/share to match the spec. #
Messages
Total messages: 17 (0 generated)
|