MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /usr/share/system-config-network/netconfpkg/gui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/system-config-network/netconfpkg/gui/ADSLInterface.pyc
mò
fÄ£Cc@s§dkTdklZdkTdkTdkZdkZdkZdkZdk	l
Z
dklZdklZdk
lZdefd„ƒYZeieƒd	ZdS(
(t*(s
GUI_functionsN(sethernetHardware(sInterfaceCreator(sxml_signal_autoconnect(s
TonlineDialogt
ADSLInterfacecBs­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((t@/usr/share/system-config-network/netconfpkg/gui/ADSLInterface.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.Ps
cCs
tdƒS(NsxDSL connection(t_(R((Rtget_project_nameWscCstS(N(tDSL(R((Rtget_typeZscCs
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((RRFgs
cCsdS(N((Rt
druid_pageR((RRnscCs'|iƒo|iƒtSntSdS(N(Rtcheckt	dehydratetFalsetTrue(RRGR((RRqs

cCs|iƒdS(N(Rthydrate(RRGR((RRxscCs|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((RR~s	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__(
RRgR)RvRšRR-RDR&R#((Rt?s
				



Æ


Anon7 - 2021