[virt-tools-list] [PATCH virt-viewer] spice/controller: add support for the properties disable-effects & color-depth
Yonit Halperin
yhalperi at redhat.com
Mon Apr 2 07:43:16 UTC 2012
rhbz #808986
Signed-off-by: Yonit Halperin <yhalperi at redhat.com>
---
src/remote-viewer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index 7dda7fe..5f7685f 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -583,7 +583,9 @@ spice_ctrl_notified(SpiceCtrlController *ctrl,
g_str_equal(pspec->name, "port") ||
g_str_equal(pspec->name, "password") ||
g_str_equal(pspec->name, "ca-file") ||
- g_str_equal(pspec->name, "enable-smartcard")) {
+ g_str_equal(pspec->name, "enable-smartcard") ||
+ g_str_equal(pspec->name, "color-depth") ||
+ g_str_equal(pspec->name, "disable-effects")) {
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