Re: [Spice-devel] [PATCH spice-gtk 6/8] Add read-only property on sessions

2011-11-23 Thread Hans de Goede
Ack, Note that after our discussion I also acked the old version where spice_session_get_read_only was kept private and g_object_get was used. So feel free to push which ever version you prefer. Regards, Hans On 11/23/2011 04:43 PM, Marc-André Lureau wrote: It is useful to have a way to prev

[Spice-devel] [PATCH spice-gtk 6/8] Add read-only property on sessions

2011-11-23 Thread Marc-André Lureau
It is useful to have a way to prevent sending commands in read-only sessions (think of multi-client) No clipboard sharing allowed in this case in gtk-session. --- gtk/map-file |1 + gtk/spice-gtk-session-priv.h |1 + gtk/spice-gtk-session.c | 17 +++-- g