Keep the server property in sync with the session properties --- gtk/spice-session.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index 63a455d..e785ceb 100644 --- a/gtk/spice-session.c +++ b/gtk/spice-session.c @@ -2650,6 +2650,13 @@ PhodavServer* spice_session_get_webdav_server(SpiceSession *session) goto end; priv->webdav = phodav_server_new(shared_dir); + g_object_bind_property(session, "share-dir-ro", + priv->webdav, "read-only", + G_BINDING_SYNC_CREATE|G_BINDING_BIDIRECTIONAL); + g_object_bind_property(session, "shared-dir", + priv->webdav, "root", + G_BINDING_SYNC_CREATE|G_BINDING_BIDIRECTIONAL); + end: g_mutex_unlock(&mutex); -- 2.1.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel