WebApps: Fixes file handler registration in the Cinnamon DE.
The Cinnamon Desktop Environment requires file handlers to specify a %F argument to specify where file arguments should be placed. Other DEs (such as Plasma) don't have this restriction. The fix is to (conditionally) append a '%F' argument to the command line of web apps with file handlers. If the argument is added unconditionally all web apps will show up as options in the 'Choose Another App' dialog, which is undesirable. Bug: 1027994 Change-Id: I89f882c0854b3ee313fce6eea1845052a884c173 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933683 Commit-Queue: Jay Harris <harrisjay@google.com> Reviewed-by:Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#718892}
Showing
Please register or sign in to comment