| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/system-config-network/netconfpkg/tui/ |
Upload File : |
Ñò
:®Jc @ sH d Z d d k Z d d k l Z d d d „ ƒ YZ d „ Z d Z d S( s TUI Modem Interface ModuleiÿÿÿÿN( t _t NCModemInterfaceTuic B s8 e Z d Z d d „ Z d d „ Z d „ Z d „ Z RS( s TUI Modem Interface Dialogc C sš t i d d ƒ | _ t i d d ƒ | _ t i d d ƒ | _ t i d d ƒ | _ t i d d d d ƒ| _ t i d d ƒ | _ | | _ d | _
d S( s
The constructor
@screen A snack screen instance
@devicelist A NCDeviceList
@modem The modem device. If none given, the first
modem in devicelist will be used.
If none are there, one will be added.
i t t passwordi N( t snackt Entryt namet hwdevt logint phonenoR t
initstringt modemt Nonet screen( t selfR ( ( sI /usr/share/system-config-network/netconfpkg/tui/NCPluginModemInterface.pyt __init__ s c C sí | oâ | i o | i i | i ƒ n | i o | i i | i ƒ n | i i o | i i | i i ƒ n | i i o | i i | i i ƒ n | i i
o | i i | i i
ƒ n | i i o | i
i | i i ƒ qé n d S( sž
Set the default values of the fields
according to the given device
@modem The NCDevice (type modem) to use as default values
N( t DeviceIdR t sett DeviceR t Dialupt LoginR t PasswordR t
InitStringR
t PhoneNumberR ( R R ( ( sI /usr/share/system-config-network/netconfpkg/tui/NCPluginModemInterface.pyt setState s
c C sŽ | i i ƒ | i _ | i i ƒ | i _ | i i ƒ | i i _ | i i ƒ | i i _
| i i ƒ | i i _ | i
i ƒ | i i _ d S( sQ
Extracts info from the screen, and puts it into a device object
N( R t valueR R R R R R R R R R
R R R ( R ( ( sI /usr/share/system-config-network/netconfpkg/tui/NCPluginModemInterface.pyt processInfo0 s c C sØ | | _ t i d d ƒ } t i d d ƒ } | i t i t d ƒ ƒ d d d d ƒ| i t i t d ƒ ƒ d d d d ƒ| i t i t d ƒ ƒ d d d d ƒ| i t i t d ƒ ƒ d d
d d ƒ| i t i t d ƒ ƒ d d d d ƒ| i t i t d
ƒ ƒ d d d d ƒ| i | i d d d ƒ | i | i d d d ƒ | i | i d d d d d ƒ| i | i d d
d ƒ | i | i
d d d ƒ | i | i d d d ƒ t i | i t d ƒ d f t d ƒ d f f ƒ } t i
| i t d ƒ d d
ƒ } | i | d d d d d ƒ| i | d d d ƒ | i | d d d d ƒ| i | i ƒ xi | i ƒ } | i | ƒ d j o | i i ƒ t S| i | ƒ d j o | i i ƒ | i ƒ t Sqkd S( sB
Show and run the screen, save files if necesarry
i i i t Namei t
anchorLeftR s ISP Phonenumbers ISP Logini s ISP Passwordi s Modem Initstringi t Okt okt Cancelt cancels Modem Configurationt growxN( i i i i ( i i i i ( i i i i ( i i i i ( i i i i ( i i i i ( i i i i ( i i i i ( R
R t Gridt setFieldt LabelR R R R R R R
t ButtonBart GridFormt addR R t runt
buttonPressedt popWindowt FalseR t True( R t mscreent g1t g2t bbt tlt res( ( sI /usr/share/system-config-network/netconfpkg/tui/NCPluginModemInterface.pyt runIt<