;ς ΦMβ>c@s¬dZdkZdkZdkZdkZdkZdkZdkZdkZdk Z dk Z dk Z dfd„ƒYZ de i fd„ƒYZdfd„ƒYZdS(sAGet host/port and country/representative information graphically.NsloginWincBs˜tZdZd„Zd„Zd„Zed„Zd„Zd„Z d„Z d„Z d „Z d „Z d „Zd „Zd „Zd„Zd„ZRS(s6Get host/port and coun/rep info in a graphical manner.c CsJtiddƒ|_|iiƒtidjo|iitiƒn|ii dƒ|ii dƒ|ii d|i ƒ|ii d|iƒti|idddd d d d d ƒ|_|iiddddddƒti|iddƒ}|iddddƒ|iƒ}ti|ddd dtiiddd d ƒ|_|iiddddddƒti|ddd dd|iƒ|_|iiddƒti|ddd d d|iƒ|_|iiddƒti|dd!d d"d|i ƒ|_!|i!iddƒti|dd#d d$d|i"ƒ|_#|i#iddƒti|idd%ƒ}|iddddddƒ|iƒ}ti|dd&d d d d'ƒ}|iddddƒti'|dd(ƒ|_(|i(iddddƒti|dd)d d d d*ƒ}|iddddƒti'|dd+ƒ|_*|i*iddddƒti|dd,d d-d.d/d|i+ƒ|_,|i,id d0ƒti|idd1ƒ} | iddddddƒ| iƒ}ti|dd2d d d d3ƒ} | iddddƒti'|dd4ƒ|_0|i0iddddƒti|dd5d d d d6ƒ}|iddddƒti'|dd7ƒ|_2|i2iddddƒti3ƒ|_4ti5|dd8d d9d:|i4d|i6ƒ} | id d ƒti|dd;d d<d|i ƒ|_8|i8id d0ƒ|i9ƒdS(=Nsnamesloginsnts Empire loginssWM_DELETE_WINDOWsstatusswidthi(sanchorswstextshrmmssidesbottomsfillsxsexpandistag_texts Database FilesfilenamesFile: sjustifysleftstopsresetsResetscommandsrightssavesSave AssloadsLoadsnewsNewsServer InformationslhostsHost:shostslportsPort:sports disconnects DisconnectsstatesdisabledsesPlayer InformationslcounsCountry:scounslreps Password:srepskillsKillsvariablesplaysPlay(:sTkintersToplevelsselfsRootswithdrawsossnames transientsviewerstitlesiconnamesbindsDoPlaysprotocols handleDeletesLabelsStatusspacksPmwsGroupsdbGroupsinteriorsdbframesempDbsDBIOsfilenamesFileInfosButtonsDoResetsResetBsDoSavesSaveBsDoLoadsLoadBsDoNewsNewBsnetGroupsnetFrameslhostsEntrysHostslportsPorts DoDisconnects DisconnectBs playerGroupspframeslcounsCounslrepsReps StringVarskillVs CheckbuttonsDoKillskillCBsPlayBs getDBValues( sselfsnetGroupslrepslhostsdbframeslportsnetFramesdbGroupspframeslcounskillCBs playerGroup((s@/mnt/gmirror/ports/games/ptkei/work/ptkei-1.18.1/src/LoginWin.pys__init__%s            cCsΗt|iiƒƒ}hd|iiƒ<d|<d|iiƒ<d|iiƒ<}t i d}|d|djp'|d|djp|d|djodt i _ n|i|ƒdS(s4Set the database login values from the login window.shostsportscounsreprsloginiN(sintsselfsPortsgetsportsHostsCounsRepsvalssempDbsmegaDBsloginDbsDBIOs newDatabasesupdate(sselfsloginDbsvalssport((s@/mnt/gmirror/ports/games/ptkei/work/ptkei-1.18.1/src/LoginWin.pys setDBValues~sE ?cCsΒd|_tid}|iiddƒ|iid|dƒ|iiddƒ|iid|dƒ|i iddƒ|i id|dƒ|i iddƒ|i id|dƒdS( s?Get the database login values and set them in the login window.isloginsendshostsportscounsreprN( sselfs login_killsempDbsmegaDBsldictsHostsdeletesinsertsPortsCounsRep(sselfsldict((s@/mnt/gmirror/ports/games/ptkei/work/ptkei-1.18.1/src/LoginWin.pys getDBValues‰s  cCs`y|iƒWn$tj od|id