summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorThorsten Behrens <thorsten.behrens@allotropia.de>2020-12-19 11:18:34 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2021-07-22 14:32:00 +0200
commit883930f7e8164043cb395652c3afc42265a8d2f5 (patch)
treec65e60a2729def07f56918f4b91358c5b0f0189a /sysui
parente7d7fc049b3824984f353bab18525a0e4683b009 (diff)
Handle fancy webdav URI schemes on all platforms
Change-Id: I5cc16b0fdaf032e90aa0361df6f33c04a615abab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108016 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de> (cherry picked from commit 1bc454a2c0cb0dd69512d69ddd2123a44814197e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117812 (cherry picked from commit 3156e46277822ec7fbd2e93482a6c576e06b728a)
Diffstat (limited to 'sysui')
-rw-r--r--sysui/desktop/macosx/Info.plist.in8
-rw-r--r--sysui/desktop/menus/startcenter.desktop2
2 files changed, 9 insertions, 1 deletions
diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in
index fa3dbed3c79c..7a3f9a6dce31 100644
--- a/sysui/desktop/macosx/Info.plist.in
+++ b/sysui/desktop/macosx/Info.plist.in
@@ -1465,6 +1465,14 @@
</dict>
<dict>
<key>CFBundleURLName</key>
+ <string>@PRODUCTNAME@</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>vnd.libreoffice.command</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleURLName</key>
<string>@PRODUCTNAME@ WebDav</string>
<key>CFBundleURLSchemes</key>
<array>
diff --git a/sysui/desktop/menus/startcenter.desktop b/sysui/desktop/menus/startcenter.desktop
index 3551a750a45f..be551ae27335 100644
--- a/sysui/desktop/menus/startcenter.desktop
+++ b/sysui/desktop/menus/startcenter.desktop
@@ -23,7 +23,7 @@ Icon=startcenter
Type=Application
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Other;
Exec=${UNIXBASISROOTNAME} %%FILE%%
-MimeType=application/vnd.openofficeorg.extension;x-scheme-handler/vnd.libreoffice.cmis;
+MimeType=application/vnd.openofficeorg.extension;x-scheme-handler/vnd.libreoffice.cmis;x-scheme-handler/vnd.sun.star.webdav;x-scheme-handler/vnd.sun.star.webdavs;x-scheme-handler/vnd.libreoffice.command;
Name=%PRODUCTNAME
GenericName=Office
Comment=The office productivity suite compatible to the open and standardized ODF document format. Supported by The Document Foundation.