remote-viewer: controller sets spice session proxy

Trivial change since spice-gtk now has proxy session property and
controller message, just forward it.
This commit is contained in:
Marc-André Lureau 2013-01-30 15:03:53 +01:00
parent 3cc2040be5
commit 7d9e442ffb
2 changed files with 3 additions and 2 deletions

View File

@ -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])

View File

@ -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);