Eject instead of unmount, fixes #479
This commit is contained in:
parent
c511242dd4
commit
218630b7e0
1 changed files with 1 additions and 3 deletions
|
|
@ -418,12 +418,10 @@ impl Gvfs {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: do eject instead of unmount?
|
|
||||||
log::info!("unmount {}", name);
|
log::info!("unmount {}", name);
|
||||||
MountExt::unmount_with_operation(
|
MountExt::eject_with_operation(
|
||||||
&mount,
|
&mount,
|
||||||
gio::MountUnmountFlags::NONE,
|
gio::MountUnmountFlags::NONE,
|
||||||
//TODO: gio::MountOperation needed for network shares with auth
|
|
||||||
gio::MountOperation::NONE,
|
gio::MountOperation::NONE,
|
||||||
gio::Cancellable::NONE,
|
gio::Cancellable::NONE,
|
||||||
move |result| {
|
move |result| {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue