Skip to content

Commit b8fd886

Browse files
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/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ignore = [
22
'cinnamon-recorder-src.h',
33
'cinnamon-recorder.h',
4+
'cinnamon-mount-operation.h',
45
st_headers,
56
st_private_headers,
67
tray_headers,

0 commit comments

Comments
 (0)