Tomas Jelinek has uploaded a new change for review.

Change subject: userportal,webadmin: pass smartcard option also to ActiveX
......................................................................

userportal,webadmin: pass smartcard option also to ActiveX

Since the SPICE ActiveX plugin already supports the smartcard
option, passing this option also to it (the same way as already
done for XPI)

Change-Id: Ib1fc9c237cb29b48b255174c4669974ef56e0f12
Signed-off-by: Tomas Jelinek <tjeli...@redhat.com>
---
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/69/13969/1

diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
index 56bbf17..25549e6 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/uicommon/SpicePluginImpl.java
@@ -265,6 +265,8 @@
                                                    var disconnectedEvent = 
th...@org.ovirt.engine.ui.common.uicommon.SpicePluginImpl::getDisconnectedEvent()();
                                                    var connectedEvent = 
th...@org.ovirt.engine.ui.common.uicommon.SpicePluginImpl::getConnectedEvent()();
                                                    var wanOptionsEnabled = 
th...@org.ovirt.engine.ui.common.uicommon.SpicePluginImpl::isWanOptionsEnabled()();
+                                                   // the !! is there to 
convert the value to boolean because it is returned as int
+                                                   var smartcardEnabled =  
!!th...@org.ovirt.engine.ui.common.uicommon.SpicePluginImpl::passSmartcardOption()();
                                                    var colorDepth = 
th...@org.ovirt.engine.ui.common.uicommon.SpicePluginImpl::colorDepthAsInt()();
                                                    var disableEffects = 
th...@org.ovirt.engine.ui.common.uicommon.SpicePluginImpl::disableEffectsAsString()();
                                                    var spiceProxy = 
th...@org.ovirt.engine.ui.common.uicommon.SpicePluginImpl::getSpiceProxy()();
@@ -309,6 +311,7 @@
                                                    client.SendCtrlAltDelete = 
sendCtrlAltDelete;
                                                    client.UsbAutoShare = 
usbAutoShare;
                                                    
client.SetUsbFilter(usbFilter);
+                                                   client.Smartcard = 
smartcardEnabled;
                                                    if (wanOptionsEnabled) {
                                                        client.DisableEffects = 
disableEffects;
                                                        client.ColorDepth = 
colorDepth;


--
To view, visit http://gerrit.ovirt.org/13969
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1fc9c237cb29b48b255174c4669974ef56e0f12
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjeli...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to