[virt-tools-list] [PATCH virt-viewer] remote-viewer: add smartcard controller message

Marc-André Lureau marcandre.lureau at gmail.com
Mon Feb 20 19:56:41 UTC 2012


---
 configure.ac        |    2 +-
 src/remote-viewer.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3e3d81c..c1dd5ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@ GTK2_REQUIRED="2.12.0"
 GTK3_REQUIRED="3.0"
 GTK_VNC1_REQUIRED="0.3.8"
 GTK_VNC2_REQUIRED="0.4.0"
-SPICE_GTK_REQUIRED="0.9"
+SPICE_GTK_REQUIRED="0.9.11"
 
 AC_PROG_CC
 AM_PROG_CC_C_O
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index 3b8f168..1aa28b0 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -467,7 +467,8 @@ spice_ctrl_notified(SpiceCtrlController *ctrl,
     if (g_str_equal(pspec->name, "host") ||
         g_str_equal(pspec->name, "port") ||
         g_str_equal(pspec->name, "password") ||
-        g_str_equal(pspec->name, "ca-file")) {
+        g_str_equal(pspec->name, "ca-file") ||
+        g_str_equal(pspec->name, "enable-smartcard")) {
         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.7.7.6




More information about the virt-tools-list mailing list