Have a way to detect optical drives
@hadess
Submitted by Bastien Nocera Link to original bug (#594649)
Description
+++ This bug was initially created as a clone of Bug #580779 +++
To make the "Eject" keyboard button a bit more clever, we'd like to replace the current code (which calls eject) by a gvfs call.
We want to only eject optical devices, or drives that can do a mechanical eject of the media (Zip, LS-120 floppies, not USB card readers).
g_drive_can_eject and g_mount_can_eject aren't sufficient for detecting such drives.
Version: 2.28.x