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/TokenRingInterface.pyo
mò
fÄ£Cc@s dkTdkTdklZdkZdkZdkZdkZdkl	Z	dk
l
Z
dklZdkl
Z
de
fd„ƒYZeieƒd	ZdS(
(t*(ssharedtcpipN(stokenringHardware(sInterfaceCreator(sethtool(sxml_signal_autoconnecttTokenRingInterfacecBs›tZdeddd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„Zd„ZRS(NicCs¼ti|d|ƒ||_||_d|_t	i
ƒ|_ti
ƒ|_||i_t|i_t|i_t|i_tiƒ|_||_||_d|_t|_g|_dS(Ntdo_savei(tInterfaceCreatort__init__tselfRttopleveltdruidttopdruidtNonetxmltNCDeviceListt
getDeviceListt
devicelisttNCDevTokenRingtDevTokenRingtdevicetconnection_typetTypetTruetOnBoottFalset	AllowUsertIPv6Initt
NCProfileListtgetProfileListtprofilelistthw_selthwPagetdruids(RRRRR((tE/usr/share/system-config-network/netconfpkg/gui/TokenRingInterface.pyR!s 							cCsØ|iodSnd}tii|ƒpt|}ntii|ƒpt|}nti	i
|ddtƒ|_
d}tii|ƒpt|}ntii|ƒpt|}nti	i
|ddtƒ|_t|ihd|i<d|i<d|i<d|i<d	|i<d
|i<d|i<d|i<d
|i<ƒ|i
idƒ}|i
idƒ}|iidƒ}|i|ƒ|i|ƒti|i
|i ƒ|iidƒ|_!x7|i!i"ƒD]&}|i!i|ƒ|i$i%|ƒqåWt&|i'ƒ|_(d|i(_)|i$dg|i(i$|i$d|_$|i i*t+jp|i i*t,joX|iidƒi-ti.ƒ|iidƒi-ti.ƒ|iidƒi-ti.ƒndS(Nssharedtcpip.gladetdomainsTokenRingInterfaceDruid.gladeRton_hostname_config_page_backton_hostname_config_page_nextton_hostname_config_page_prepareton_hw_config_page_backton_hw_config_page_nextton_hw_config_page_prepareton_finish_page_finishton_finish_page_prepareton_finish_page_backt
dhcpWindowt	dhcpFrametgeneralVboxiitmtuAlignmenttmtuLabeltmtuEntry(/RR
t
glade_filetostpathtexistst	GLADEPATHt
NETCONFDIRtgtktgladetXMLR	tPROGNAMEtsharedtcpip_xmltxml_signal_autoconnectR R!R"R#R$R%R&R'R(t
get_widgettwindowtframetvboxtremovet
pack_starttsharedtcpipt	dhcp_initRRtget_childrentiRtappendttokenringHardwareRthwDruidt
has_tokenringRtCTCtIUCVt	set_flagstVisible(RRDR>R<R=R/((Rtinit_gui5sF
	s

)&cCs
tdƒS(NsToken Ring connection(t_(R((Rtget_project_namenscCstS(N(t	TOKENRING(R((Rtget_typeqscCs
tdƒS(Ns#Create a new Token Ring connection.(RN(R((Rtget_project_descriptiontscCs|iƒ|iS(N(RRMR(R((Rt
get_druidsws
cCsI|iiƒ}|io|ii|dƒn|ii|dƒtS(Nii(RRRCtchildsRtset_pageR(Rt
druid_pageRRT((RR {s

cCsIti|i|iƒ|io%|iii|i_	d|i_ndS(N(RAtdhcp_dehydrateRR9RRRGthwtNametDeviceR	tAlias(RRVR((RR!ƒs
cCsti|i|iƒdS(N(RAtdhcp_hydrateRR9R(RRVR((RR"‹scCsdS(N((RRVR((RR#scCsè|iidƒ}|iiƒ}t|iƒp|ii	|dƒt
Sn|id|_|id|ijo!t
|_
|ii	|dƒnPt|_
|i|id|i_|i|iƒ|i_|ii	|dƒt
S(NthardwareListiiii(RR
R;tclistRRCRTtlent	selectionRURRtrowsRRtdevlistRRZtgetNextAliasR[(RRVRRTR^((RR$’s		cCs¾tiƒ}|iidƒ}|iƒg|_x]|D]U}|i
tjo?|id|i
d}|i|gƒ|ii|i
ƒq8q8W|itdƒgƒ|i|idƒdS(NR]s (t)sOther Tokenring Cardi(tNCHardwareListtgetHardwareListthardwarelistRR
R;R^tclearRbRXRRPtDescriptionRYtdescRERNt
select_rowR(RRVRRgRXR^Rj((RR%¨s
	cCsdS(N((RRVR((RR(¶scCsÃ|ii|i_|iio*|iidt|iiƒ|i_nyti|iiƒ}Wnt	j
o	}nX||i_tdƒddtdƒdt|iiƒd}tiƒ}x>|D]6}|i|iijo|d|id}PqÏqÏW|d	d}|iid
jof|tdƒd|iid	dtdƒd|iid	dtd
ƒd|iid	}n#|tdƒd|iid	}|i|ƒdS(Nt:s,You have selected the following information:s

s   sDevice:t t(Rds
tstaticsAddress:sSubnet mask:sDefault gateway address:s.Automatically obtain IP address settings with:(RRRZtDeviceIdR[tstrtethtoolt
get_hwaddrthwaddrtIOErrorterrtHardwareAddressRNtsReRfRgRXRYRit	BootPrototIPtNetmasktGatewayRVtset_text(RRVRRvRgRXRxRt((RR'¹s(
*6	f"cCs­tiƒ}|iƒ|ii|iƒ|iiƒx?|iD]4}|i
tjoq@n|ii|ii
ƒPq@W|iiƒ|iiƒ|iiƒtiƒdS(N(ReRfRgtcommitRR
RERRtproftActiveRt
ActiveDevicesRpRtdestroyR5t	main_quit(RRVRRgR((RR&Ús





(t__name__t
__module__R	RPRRMRORQRRRSR R!R"R#R$R%R(R'R&(((RR s	9												!s Harald Hoyer <harald@redhat.com>(tnetconfpkg.gui.GUI_functionst
netconfpkgtnetconfpkg.guiRAR5t	gtk.gladetstringR0tTokenRingHardwareDruidRFRtrhplRrR:RRtsetDevTokenRingWizardt
__author__(
RrRRŠRR5RŽRFR:RAR0((Rt?s
				



Ë


Anon7 - 2021