limansky / tinymount

simple GUI tool for disks mounting
GNU General Public License v2.0
18 stars 3 forks source link

Tinymount does not handle cdrom media eject #4

Closed tataranovich closed 12 years ago

tataranovich commented 12 years ago

If I insert media into cdrom drive tinymount add context menu item for cdrom, but when I eject media - context menu still contain old disk info. And when I try to click this menu item - tinymount complain about failed mount attempt (no disc in cdrom drive). This issue exists in tinymount build which made from current git master. OS: Debian Squeeze

\ Log output **

Disc inserted into drive: Device changed: "/org/freedesktop/UDisks/devices/sr0" mountDevice: "/org/freedesktop/UDisks/devices/sr0" Device changed: "/org/freedesktop/UDisks/devices/sr0" Device "Finnix 104" is mounted to "/media/Finnix 104" , status = 0

Disc ejected: Device changed: "/org/freedesktop/UDisks/devices/sr0" Device changed: "/org/freedesktop/UDisks/devices/sr0"

Mount attempt (no disc in drive, but menu item still present): mountDevice: "/org/freedesktop/UDisks/devices/sr0" Unknown device passed. Path = "/org/freedesktop/UDisks/devices/sr0"