[Spice-devel] [PATCH spice-gtk 2/3] Add a desktop-integration helper class

Marc-André Lureau mlureau at redhat.com
Thu Jun 14 02:28:22 PDT 2012


Hi

----- Mensaje original -----
> > Looks reasonable to me, however, I don't see why it should be in
> > spice-glib, since it's very much desktop related.  Wouldn't it make
>  > more sense in spice-gtk?
> 
> I actually put it in spice-gtk at first, but that does not work very
> well
> because usb-device-manager needs access to the automount disable
> functionality.

Ok
 
>  > Since it's not directly dependent and related
> > to a particular spice session, it could perhaps even be a separate
> > library (although for now, a few extra functions and dependency in
> > spice-gtk is surely fine).
> 
> There is various state inside, which needs to be coupled to some
> object,
> using the session for this seems best.

Except setting/getting its own SpiceDesktopIntegration *desktop_integration; what does it need from SpiceSession? If I understand correctly, the changes made by desktop-integration are session-wide, so why having a 1-1 relation with each spice session?


More information about the Spice-devel mailing list