[Spice-devel] [PATCH virt-viewer] spice/controller: add support for the properties disable-effects & color-depth

Hans de Goede hdegoede at redhat.com
Mon Apr 2 01:41:13 PDT 2012


ACK.

On 04/02/2012 09:43 AM, Yonit Halperin wrote:
> 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);


More information about the Spice-devel mailing list