8000 fix: use gio as default linux trash impl by codebytere · Pull Request #15399 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: use gio as default linux trash impl #15399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 26, 2018
Merged

Conversation

codebytere
Copy link
Member

Description of Change

Resolves #15011.

Switches the default trash implementation away from gvfs-trash to gio trash now that gvfs-trash has ben largely deprecated and is no longer appropriate as the default.

/cc @ckerr @eli-schwartz

Checklist

  • PR description included and stakeholders cc'd
  • npm test passes
  • PR title follows semantic commit guidelines

Release Notes

Notes: fix default trash impl on linux to use gio

@codebytere codebytere requested review from a team October 25, 2018 16:22
@@ -80,6 +80,16 @@ Don't attach to the current console session.

Don't use the global menu bar on Linux.

### `ELECTRON_DEFAULT_TRASH` _Linux_

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `ELECTRON_DEFAULT_TRASH` _Linux_
### `ELECTRON_TRASH` _Linux_

The environment variable is ELECTRON_TRASH, the C++ compiler macro used to define the default trash implementation is ELECTRON_DEFAULT_TRASH.

Otherwise looks good to me, thanks for working on this. :)

Copy link
Member Author
@codebytere codebytere Oct 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh whoops, thanks for catching this; fixed!

@codebytere codebytere force-pushed the fix-default-trash-linux branch from 773642c to 0a308ab Compare October 25, 2018 16:48
* `trash-cli`
* `kioclient5`
* `kioclient`

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@codebytere codebytere merged commit bea4de9 into master Oct 26, 2018
@release-clerk
Copy link
release-clerk bot commented Oct 26, 2018

Release Notes Persisted

fix default trash impl on linux to use gio

@trop
Copy link
Contributor
trop bot commented Oct 26, 2018

We have automatically backported this PR to "3-0-x", please check out #15421

@trop trop bot removed the target/3-0-x label Oct 26, 2018
@trop
Copy link
Contributor
trop bot commented Oct 26, 2018

We have automatically backported this PR to "4-0-x", please check out #15422

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Electron uses old and deprecated trash implementation that is not available on recent gvfs versions.
3 participants
0