Ñò +z2Wc @ sB d Z d d k Z d d k l Z d d d „ ƒ YZ d „ Z d S( s TUI ISDN Interface ModuleiÿÿÿÿN( t _t NCIsdnInterfaceTuic B s8 e Z d Z d d „ Z d d „ Z d „ Z d „ Z RS( s TUI ISDN 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 S( s The constructor @screen A snack screen instance @devicelist A NCDeviceList @isdn The ISDN device. If none given, the first isdndevice 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 msnt isdn( t selfR ( ( sH /usr/share/system-config-network/netconfpkg/tui/NCPluginIsdnInterface.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 @isdn The Device (type isdn) to use as default values N( t DeviceIdR t sett DeviceR t Dialupt LoginR t PasswordR t PhoneNumberR t MSNR ( R R ( ( sH /usr/share/system-config-network/netconfpkg/tui/NCPluginIsdnInterface.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 ( ( sH /usr/share/system-config-network/netconfpkg/tui/NCPluginIsdnInterface.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 | t d ƒ d f t d ƒ d f f ƒ } t i | t d ƒ d d ƒ } | i | d d d d d ƒ| i | d d d ƒ | i | d d d d ƒ| i | i ƒ xc | i ƒ } | i | ƒ d j o | i ƒ t S| i | ƒ d j o | i ƒ | i ƒ t Sq\d 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 R i t Okt okt Cancelt cancels ISDN 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 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( ( sH /usr/share/system-config-network/netconfpkg/tui/NCPluginIsdnInterface.pyt runIt= s<