[Spice-devel] [PATCH spice-gtk 1/2] controller: handle SEND_CAD message as a property
Alon Levy
alevy at redhat.com
Wed Mar 21 16:15:03 PDT 2012
On Wed, Mar 21, 2012 at 11:07:02PM +0100, Marc-André Lureau wrote:
> ---
> gtk/controller/controller.vala | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
ACK.
> diff --git a/gtk/controller/controller.vala b/gtk/controller/controller.vala
> index 12b5b8d..b083f4e 100644
> --- a/gtk/controller/controller.vala
> +++ b/gtk/controller/controller.vala
> @@ -40,6 +40,7 @@ public class Controller: Object {
> public string[] disable_channels { private set; get; }
> public SpiceCtrl.Menu? menu { private set; get; }
> public bool enable_smartcard { private set; get; }
> + public bool send_cad { private set; get; }
>
> public signal void do_connect ();
> public signal void show ();
> @@ -131,7 +132,10 @@ public class Controller: Object {
> menu = null;
> break;
>
> - // ignore SEND_CAD
> + case SpiceProtocol.Controller.MsgId.SEND_CAD:
> + send_cad = (bool)v.value;
> + break;
> +
> case SpiceProtocol.Controller.MsgId.HOTKEYS:
> hotkeys = str;
> break;
> --
> 1.7.7.6
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list