[Spice-devel] [PATCH spice-gtk 4/5] session: add share-dir-ro property

Christophe Fergeau cfergeau at redhat.com
Mon Feb 23 05:08:55 PST 2015


On Sat, Feb 21, 2015 at 01:40:15AM +0100, Marc-André Lureau wrote:
> Add a property to specify if share folder access is read-only.
> ---
>  gtk/spice-session.c | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/gtk/spice-session.c b/gtk/spice-session.c
> index ab7b25c..63a455d 100644
> --- a/gtk/spice-session.c
> +++ b/gtk/spice-session.c
> @@ -61,6 +61,7 @@ struct _SpiceSessionPrivate {
>      gboolean          read_only;
>      SpiceURI          *proxy;
>      gchar             *shared_dir;
> +    gboolean          share_dir_ro;

I'd use shared_dir_ro throughout this patch to be similar to
'shared_dir'. Looks good otherwise.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150223/b40d606e/attachment.sig>


More information about the Spice-devel mailing list