On Mon, Feb 20, 2012 at 3:29 PM, Hans de Goede <hdego...@redhat.com> wrote: > The purpose of spice_usb_device_manager_device_ok_with_guest is for a UI > (like the device selection widget) to show these devices in a different > way (ie set their widgets as not sensitive), how do you propose to > convey the reason why the are not active to the user? Esp. when the reason > may be different per device?
With such function: gboolean spice_usb_device_manager_can_redirect_device (SpiceUsbDeviceManager *self, SpiceUsbDevice *device, GError *error); You can cover a broader range of information about whether or why the device can be redirected. I don't see how it would limits the UI -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel