gnome-python-extras 2.11.3
This new version brings you some interesting new things in the module brought to you by your trully: nautilusburn.
First think it corrects is that it now works, last two version weren't because of API change, for better, in libnautilusburn land. It is also has all the features it C version has, which means that now you can:
- Drive.door_is_open
- Drive.get_media_type_full
- Drive.unmount
- Drive.eject
The Drive object now has a constructor, so you can explicitly create a new object like so:
import nautilusburn
d = nautilusburn.Drive ("/dev/cdrom")
And please note that if you intend to use
Drive.unmount or
Drive.eject you
must start glib threads first:
import gobject
gobject.threads_init ()
import nautilusburn
d = nautilusburn.Drive ("/dev/cdrom")
d.unmount ()
d.eject ()
If you don't do this you'll recieve a pretty segfault warning
you to do so and whatch python die on your hands >:)