GNOME Bugzilla – Bug 613405
Ejecting drives does not run the same action as Nautilus
Last modified: 2010-03-24 18:54:36 UTC
When you click on the eject button in Nautilus, USB keys are completely turned off, not only unmounted. This corresponds to the "Eject" option of the right-click menu. In the Shell, the key is not turned off, so it's more like "Unmount" or "Safely Remove". I think using the very same action would make sense - just a matter of calling the right GIO function, I guess.
Created attachment 156623 [details] [review] [placeDisplay] Prefer eject over unmount when applicable Clicking the eject button in the places display always triggers an unmount action. In some cases like USB drives or DVDs, eject makes more sense - it is also consistent with nautilus' behavior.
Review of attachment 156623 [details] [review]: Looks good and it actually make sense to be consistent with the nautilus behavior here. (You might have to wait for the 2.29.1 before committing though, unless Owen is fine with this going in now).
...and of course, the ever active Florian has come up with a patch in one hour and a half!
(In reply to comment #3) > ...and of course, the ever active Florian has come up with a patch in one hour > and a half! Of which one hour and a quarter were spent searching for a USB stick to test the patch ;) (In reply to comment #2) > (You might have to wait for the 2.29.1 before committing though, unless Owen is > fine with this going in now). I think we could argue that the patch is a bug fix rather than a feature addition, but as I didn't really expect the patch to be reviewed before the release anyway, I'm obviously fine with waiting ...
(In reply to comment #4) > (In reply to comment #2) > > (You might have to wait for the 2.29.1 before committing though, unless Owen is > > fine with this going in now). > > I think we could argue that the patch is a bug fix rather than a feature > addition, but as I didn't really expect the patch to be reviewed before the > release anyway, I'm obviously fine with waiting ... Yeah you're right this is indeed more of a bugfix than a feature, so it should be fine I suppose.
Attachment 156623 [details] pushed as d1a1783 - [placeDisplay] Prefer eject over unmount when applicable