[Spice-devel] [phodav PATCH 2/4] spice-webdavd: Hide client folder when sharing disabled

Lukas Venhoda lvenhoda at redhat.com
Thu Feb 4 14:50:54 CET 2016


After disabling sharing, remove client folder from file explorer.
Show client folder again after sharing is re-enabled.
---
Changes
 - Split patch into 2
---
 spice/spice-webdavd.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
index 68f3cf0..c8fb795 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -469,6 +469,9 @@ end:
       g_clear_error (&error);
     }

+#ifdef WITH_AVAHI
+  mdns_unregister_service ();
+#endif
   quit (-3);
 }

--
2.5.0



More information about the Spice-devel mailing list