[virt-tools-list] [PATCH virt-viewer] remote-viewer: controller sets spice session proxy

Marc-André Lureau marcandre.lureau at gmail.com
Wed Jan 30 14:09:06 UTC 2013


Trivial change since spice-gtk now has proxy session property and
controller message, just forward it.
---
 configure.ac        | 2 +-
 src/remote-viewer.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 55f6ea0..d20e8c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@ GTK2_REQUIRED="2.18.0"
 GTK3_REQUIRED="3.0"
 GTK_VNC1_REQUIRED="0.3.8"
 GTK_VNC2_REQUIRED="0.4.0"
-SPICE_GTK_REQUIRED="0.16.24"
+SPICE_GTK_REQUIRED="0.16.26"
 SPICE_PROTOCOL_REQUIRED="0.10.1"
 
 AC_MSG_CHECKING([for native Win32])
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index d79ffaa..a199310 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -476,7 +476,8 @@ spice_ctrl_notified(SpiceCtrlController *ctrl,
         g_str_equal(pspec->name, "enable-smartcard") ||
         g_str_equal(pspec->name, "color-depth") ||
         g_str_equal(pspec->name, "disable-effects") ||
-        g_str_equal(pspec->name, "enable-usbredir")) {
+        g_str_equal(pspec->name, "enable-usbredir") ||
+        g_str_equal(pspec->name, "proxy")) {
         g_object_set_property(G_OBJECT(session), pspec->name, &value);
     } else if (g_str_equal(pspec->name, "sport")) {
         g_object_set_property(G_OBJECT(session), "tls-port", &value);
-- 
1.8.1.1.439.g50a6b54




More information about the virt-tools-list mailing list