Commit b8fd886
committed
Implement mount/unmount user interaction in Cinnamon.
Certain aspects of GtkMountOperation are broken under Wayland in
Gtk3 and won't be fixed. Fortunately it can also use a dbus
interface (org.gtk.MountOperationHandler) if a provider exists.
This allows us to:
- provide the 'device is in use' popup and showing which
application is using it, when trying to eject a device.
- provide the password/question dialog when mounting devices that
require interaction before mounting.
- eliminate a lot of code and translations from placesManager,
and make the behavior identical when interacting with a device
whether from a file manager or Cinnamon's drives applet.
Translations are provided by Gtk, Gvfs instead (as when
ejecting a device from a file manager).1 parent b0c6e1f commit b8fd886
7 files changed
Lines changed: 1037 additions & 154 deletions
File tree
- docs/reference/cinnamon
- js/ui
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments