KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/22697/root/usr/share/system-config-network/netconfpkg/gui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/share/system-config-network/netconfpkg/gui/ADSLInterfaceDruid.pyo
mň
ZTc@s§dkTdklZdkTdkTdkZdkZdkZdkZdk	l
Z
dklZdklZdk
lZdefd„ƒYZeieƒd	ZdS(
(t*(s
GUI_functionsN(sethernetHardware(sInterfaceCreator(sxml_signal_autoconnect(s
TonlineDialogtADSLInterfaceDruidcBs­tZddddd„Zd„Zd„Zd„Zd„Zd„Zd	„Z	d
„Z
d„Zd„Zd
„Z
d„Zd„Zd„Zd„Zd„Zd„ZRS(NtEtherneticCszti|d|ƒ||_||_tiƒ|_	t
iƒ|_t
iƒ|_||_||_g|_d|_dS(Ntdo_save(tInterfaceCreatort__init__tselfRttopleveltdruidttopdruidtNCDeviceListt
getDeviceListt
devicelistt	NCDevADSLtDevADSLtdevicet
NCProfileListtgetProfileListtprofilelisttconnection_typetdruidstNonetxml(RRRRR((tE/usr/share/system-config-network/netconfpkg/gui/ADSLInterfaceDruid.pyR#s					cCsb|iodSntdgƒodSnd}tii|ƒpti|}ntii|ƒpti	|}nt
ii|ddti
ƒ|_t|ihd|i<d|i<d|i<d|i<d	|i<d
|i<d|idf<d
|i<ƒ|iidƒ|_x7|iiƒD]&}|ii|ƒ|ii|ƒq4WdS(Nsrp-pppoesADSLInterfaceDruid.gladeRtdomainton_dsl_config_page_backton_dsl_config_page_nextton_dsl_config_page_prepareton_finish_page_finishton_finish_page_prepareton_finish_page_backt on_providerNameEntry_insert_texts^[a-z|A-Z|0-9\-_:]+$ton_tonlineButton_clicked(RRtrequest_rpmst
glade_filetostpathtexistst
GUI_functionst	GLADEPATHt
NETCONFDIRtgtktgladetXMLtPROGNAMEtxml_signal_autoconnectRRRRRRton_generic_entry_insert_textR t
get_widgetRtget_childrentitremoveRtappend(RR1R"((Rtinit_gui/s"
!	m
cCs9|d|!}ti||ƒodSn|idƒdS(Nitinsert_text(tpartial_texttlengthttexttretmatchtstrtentrytemit_stop_by_name(RR<R6R7tposR;R8((RR.Qs
cCs
tdƒS(NsxDSL connection(t_(R((Rtget_project_nameXscCstS(N(tDSL(R((Rtget_type[scCs
tdƒS(NsCreate an xDSL connection.  This is a connection that uses one of several types of broadband connections collective known as Digital Subscriber Lines.  This list includes ADSL (Asymmetric, faster downloads than uploads), IDSL (over an ISDN line for distance), SDSL (Symmetric, downloads and uploads at the same speed), and several others.  These types of connections are common in the United States, and are gaining acceptance elsewhere.  Speeds vary according to the technology used, but generally range from 144kbps to 1.0Mbps.(R?(R((Rtget_project_description^scCsN|iƒt|iƒ}|iƒ}|o||idSn|idSdS(Ni(RR4tethernetHardwareRthwDruidt
get_druidsRR(RRER((RRFhs
cCsdS(N((Rt
druid_pageR((RRoscCs'|iƒo|iƒtSntSdS(N(Rtcheckt	dehydratetFalsetTrue(RRGR((RRrs

cCs|iƒdS(N(Rthydrate(RRGR((RRyscCs|iiƒdS(N(RRtrollback(RRGR((RR|scCsľtiƒ}x&|D]}|i|ijoPqqW|ii}t
dƒddt
dƒd|iddt
dƒd|iddt
dƒd|i
}|i|ƒdS(	Ns,You have selected the following information:s

s    sEthernet device:s  s
sProvider name:sLogin name:(tNCHardwareListtgetHardwareListthardwarelistthwtTypeRRRtDialuptdialupR?t	EthDevicetProviderNametLogintsRGtset_text(RRGRRTRPRQRX((RRs	ccCsˇtiƒ}|iƒ|ii|iƒ|iiƒx?|iD]4}|i
tjoq@n|ii|ii
ƒPq@W|iiƒ|iiƒ|iƒ|iiƒtiƒdS(N(RNRORPtcommitRRR3RRtproftActiveRJt
ActiveDevicestDeviceIdtsaveRtdestroyR)t	main_quit(RRGRRPR[((RRŒs






cCsľtti|iidƒiƒƒƒdjo‡tti|iidƒiƒƒƒdjoYtti|iidƒiƒƒƒdjo+tti|iidƒiƒƒƒdjS(NtproviderNameEntryitloginNameEntryt
passwordEntrytethernetDeviceEntry(tlentstringtstripRRR/tget_text(R((RRHsc	Cs7|ii}|iidƒ}g}d}t
iƒ}x{|D]s}|idjo]t|iƒd|id}|i|ƒ|o'|io|i|ijo
|}q°q=q=Wt|ƒo|iƒ|i|ƒn|ot|ƒo|d}n|iidƒ}|o|io|i|ƒndS(NtethernetDeviceComboBoxRs (t)iRe(RRRSRTRR/tecombothwdescRthwcurrRNRORPRQRRR;tNametDescriptiontdescR3RURftsorttset_popdown_stringstwidgetRY(	RRTRtRPRQRnRlRmRq((RRLŁs(
$

cGsü|iƒ|ii}t|i|iƒ}|i	i
dƒ}|i|i
ƒ|itiƒ|iƒtijo|iƒdSn|iƒ|i|_|i|_|i	i
dƒi|iƒ|i	i
dƒi|iƒ|i	i
dƒidƒdS(NtDialogRcRdRbsT-Online(RRIRRSRTt
TonlineDialogRWtPasswordtdialogRR/tdltset_transient_forRtset_positionR)tWIN_POS_CENTER_ON_PARENTtruntRESPONSE_OKR`tlogintpasswordRY(RtargsRyRTRx((RR žs


cCsU|iidƒiƒ|i_tidd|iiƒ|i_d|i_d|i_	t
|i_t|i_
t
|i_|iiƒ}|iidƒiƒ}ti|ƒ}|d}||_|iidƒiƒ|_|iidƒiƒ|_|iid	ƒiƒ|_t|_ttiƒ|iƒ|i_t
|_t
|i_dS(
NRbt-R?txDSLRTReiRcRd(RRR/RiRR^R9tsubRRt	BootProtoRKt	AllowUserRJtIPv6InittAutoDNStcreateDialupRTRQRgtsplittfieldsRURVRWRwtSyncPPPtgetNewDialupDeviceR
RtDevicetDefRoute(RRTR‹RQ((RRIŇs&!
			(t__name__t
__module__RRR4R.R@RBRCRFRRRRRRRHRLR RI(((RR"s"	"				
						
				s Harald Hoyer <harald@redhat.com>(tnetconfpkg.gui.GUI_functionstnetconfpkg.guiR&tnetconfpkg.NC_functionst
netconfpkgR)t	gtk.gladeRgR#tEthernetHardwareDruidRDRR-tnetconfpkg.gui.tonlineRvRR
tsetDevADSLWizardt
__author__(
RRRgR)RvRšR-RDR&R#((Rt?s
				



Ć


Anon7 - 2021