From 81eba943e1de402419a2946da2791391226b1058 Mon Sep 17 00:00:00 2001 From: Richard L King Date: Sat, 17 Nov 2018 23:03:13 +0000 Subject: [PATCH] Handle updated login button caption in Gateway 974 --- build.xml | 2 +- resources/IBC.jar | Bin 77012 -> 77026 bytes resources/version | 2 +- .../ibc/GatewayLoginFrameHandler.java | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index 668aa8c..4618a9d 100644 --- a/build.xml +++ b/build.xml @@ -2,7 +2,7 @@ - + diff --git a/resources/IBC.jar b/resources/IBC.jar index 71a7bd4b042bd849d1b76e9f02cf173c609f84a5..53fd1c451c64bfab1d08a0914b053eef94a664c7 100644 GIT binary patch delta 3532 zcmZWrdpwlcAD%N~+;R)!Hq1<7#xO4B5>_fUm!(~?L`p>^m$kVhVtrKfe z-P}VqiftpeFeR1CmNHRFuBD_ld*1WfPrv!>`_KEF=X-m;=bZPP_kN#*s82%P!;K;# zOCm{=NO!6uGvo~@Lin;yqjbPmvmON}#|-dMl?Ipx2xw8tBoSzr@uDEGL|#ZnU|O+} z05!_9RK!$igi$G-FnkGPsSE2P0umb@69tAg&JkcRpqHp!w{@CeDz@hk znLUGjsEeV9b=QF3M=q5_iiXo-B+!Xc7u*fk1~2-kx#xk&=>?AFFA#tKiVX zZCq6cPi0KP>-2?R{jMASzFWc}$~YFwZ-Llu_efC6RaBUC&(@eK1N#UuKyd;}uS1vl4%5^VxdGmovYw_;brP0J=e!Hvn z={f!p^$*#@ncB>6L*itj6XX0EjZVI(w0n~CyiwCW+dDEn?M`t`p2(Y4KJ|DsG0w5+ z^rJq1S$EnZtxSVm1`VE(>m6m%5`&6s&WS2zoo~{pWy$FUzlTW)l+QLU4c2Q7Dc|Kf zQs_%9AL{>O&%@ZX0B?sx>x8ztofkSnj}^5w^PNpxMsgH88iup|gr^rNXohNcTIp2& zcFZ?SFzD1jHA*ek?#&r>^Ju3TjUEpd-FxA`M)>Zhzl=M#3(p(*bVb={gveh>U*7E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17-Xe|YZ${LT5fe#Yd_<#a#qr{En za=;TE&-kc1=oUHPS2ci(=!C_mHGn4quA0CRZ6#{XZB=W6)o4pn3j`yuMhiqCa7_zD zB4DBoA`sZ84g3+fs|^AXFx3Hm2qfx&wFtE9%xxLzf*{1~_zDDH0ab4<@?O0;<1RfA zf{d-GU=0G<)H(NFDqtbTULOP?kf{$s5qPLSm)*($tU$~T1F#W+J_8VjfU_Y8Q4~Aw z@#BWT-&jPA6%KlQ0`LX^uMzg7Z=doki6o4Xv;b!t0tF+HWoPM$kuWI|NeFLV7T*j> zzcDm=jBhrcb1D<9!|-Nf zV2k!&iPpL}#RRyZ%)L8eJzm3%u283uSY}oH2NPh2oQ|46CpWy>1TfILAFd^6xtM=0 z)n=6+kkF76T^cE(OJhLPt<@`vMmZ4${?ETA9mK?C#9d?e6d0J92gWrfAJCgdy{ zx&0TE5f0lWE+q+nLW5F7L#J#CJ@-{%inY4{f=?-3C z38VB1G0J7UBP{=00aG5ZAwhDDVWg*W;YPa ze0LC=88rI8*&AeA8h(Ms4p6F%m;(uaY6VD8diY;qxeJ`DKyO{b_7=+7kalpPM~J8%U0P#FS^u@j#n7G6Ir72~V>Dt|p>c zIG=X?ni?#$8cNm^lblQj_^)I@#mB$;&We1m;Zz2&Mk6wswRE|HEG$5cMA8xS&BLP@ Xz!K>{%z#cp{5%6VNSA5Awvzq@e0vql diff --git a/resources/version b/resources/version index 5cdb444..47b6be3 100644 --- a/resources/version +++ b/resources/version @@ -1 +1 @@ -3.7.1 \ No newline at end of file +3.7.2 \ No newline at end of file diff --git a/src/ibcalpha/ibc/GatewayLoginFrameHandler.java b/src/ibcalpha/ibc/GatewayLoginFrameHandler.java index dd54dcb..6e71038 100644 --- a/src/ibcalpha/ibc/GatewayLoginFrameHandler.java +++ b/src/ibcalpha/ibc/GatewayLoginFrameHandler.java @@ -31,6 +31,7 @@ public boolean recogniseWindow(Window window) { return (SwingUtils.titleContains(window, "IB Gateway") && (SwingUtils.findButton(window, "Login") != null || + SwingUtils.findButton(window, "Log In") != null || // TWS 974+ SwingUtils.findButton(window, "Paper Log In") != null)); // TWS 974+ }