gnome-shell/js
Cosimo Cecchi 5c1dd4ea18 autorun: prefer Safe Removal over eject/unmount if possible
Basically do what NautilusPlacesSidebar does with the drive/volume/mount
eject/unmount/stop priorities.

We follow this pattern:
- always prefer Safely Remove if available (i.e. drive.stop())
- fallback to ejecting the mount/volume/drive if that's not possible
- finally, fallback to unmounting the mount if even eject is not
  available

This also means we don't care about the distinction between
Stop/Eject/Unmount at this level. Disk Utility (or Nautilus) are
available for those who want that degree of control, but the common case
here should do the most useful action without presenting the choice.

https://bugzilla.gnome.org/show_bug.cgi?id=653520
2011-07-13 14:39:36 -04:00
..
misc screensaver: factor out a ScreenSaverProxy helper class 2011-07-13 14:39:35 -04:00
perf perf: Add metrics for switching to the applications view 2011-03-11 19:25:40 -05:00
ui autorun: prefer Safe Removal over eject/unmount if possible 2011-07-13 14:39:36 -04:00
Makefile.am mount-operation: add a ShellMountOperation implementation 2011-07-13 14:39:36 -04:00