N
rć7c       sX   k  Z  k l k l k l d  f  d     YZ d f  d     YZ d f  d     YZ d S(   s   LiloAppendWindowc      s   d   Z  RS(   Nc 
 	  sp  t  d t d   } t t d   } t d d d d d } t | t d  d	 f t d
  d f t d  d f g  } t
 | t d  d d  } | i | d d  | i | d d d d d d d f | i | d d d d d d d f | i | d d d d | i   } | i |  }	 |	 d j o t Sn |	 d j o d | _ t | _ n
 d | _ t Sd  S(   Ni5   sç   A few systems will need to pass special options to the kernel at boot time for the system to function properly. If you need to pass boot options to the kernel, enter them now. If you don't need any or aren't sure, leave this blank.s-   Use linear mode (needed for some SCSI drives)i0   s   scrolli   s
   returnExits   OKs   oks   Skips   skips   Backs   backs   LILO Configurationi   i    s   paddingi   i   s   growx(   s   TextboxRefloweds   _s   ts   Checkboxs   cbs   Entrys   entrys	   ButtonBars   screens   buttonss   GridForms   grids   adds   runOnces   results   buttonPresseds   buttons   INSTALL_BACKs   todos   skipLilos   Nones
   liloDevices
   INSTALL_OK(
   s   selfs   screens   todos   ts   cbs   entrys   buttonss   grids   results   buttonsa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys   __call__ s&    <%%		(   s   __call__(    sa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys   LiloAppendWindow	 s    s
   LiloWindowc      s   d   Z  RS(   Nc 
   sX  d | i i   j o t Sn | i o t Sn | i   \ } } | i   d j o
 d } n$ | i   d j o
 d } n d } d } g  } | i | | d f  | i | | d f  t | t d	  t d
  | d | d t d  t d  g \ } }	 |	 d j o | i d  n | i d  | t i t d   j o t Sn t Sd  S(   Ns   /s   mbri    s	   partitioni   s   /dev/%-11s %ss   Master Boot Record (MBR)s   First sector of boot partitions   LILO Configurations,   Where do you want to install the bootloader?s   defaults   buttonss   OKs   Back(   s   todos   mountss   keyss   INSTALL_NOOPs   skipLilos   getLiloOptionss   bootparts   boothds   getLiloLocations   defaults   formats	   locationss   appends   ListboxChoiceWindows   screens   _s   rcs   sels   setLiloLocations   strings   lowers   INSTALL_BACKs
   INSTALL_OK(
   s   selfs   screens   todos   bootparts   boothds   defaults   formats	   locationss   rcs   selsa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys   __call__- s0     
 

		$(   s   __call__(    sa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys
   LiloWindow, s    s   LiloImagesWindowc      s   d   Z  d   Z d   Z RS(   Nc  	  sM  t  t d  d  } t  t d  d  } t  d |  } t d d d d d d	 | } t	 | t d
  t d  t d  g  } t d d  }	 |	 i | d d d d |	 i | d d d d d d d f d d |	 i | d d d d |	 i | d d d d d d d f d d t | t d  d d  }
 |
 i |	 d d d d d d d f |
 i | d d d d d } x¸ | t i t d
   j o
 | | j o |
 i   } | i |  o | i |  } n | t i t d   j o | i   | Sn. | t i t d   j o | i d  n q}W| i   | i   Sd  S(   Ns   Devices   :s
   Boot labels   /dev/i   s   scrolli   s
   returnExits   texts   Oks   Clears   Canceli   i    s
   anchorLefts   paddings   Edit Boot Labels   growxs    (   s   Labels   _s   devLabels	   bootLabels	   partitions   devices   Entrys	   itemLabels   newLabels	   ButtonBars   screens   buttonss   Grids   subgrids   setFields   GridForms   gs   adds   results   strings   lowers   runs   buttonPresseds	   popWindows   sets   value(   s   selfs   screens	   partitions	   itemLabels   devLabels	   bootLabels   devices   newLabels   buttonss   subgrids   gs   resultsa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys   editItemN s4    *++% )

c    s   | d j o
 d } n5 | d j o
 d } n | d j o
 d } n d } | | j o
 d } n d	 } d
 d | | | | f Sd  S(   Ni   s   Linux extendedi   s   DOS/Windowsi   s   OS/2 / Windows NTs   Others   *s    s   %-10s  %-25s %-7s %-10ss   /dev/(   s   types   defaults   devices   label(   s   selfs   types   labels   devices   defaultsa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys   formatDevicep s    



c  	  sÚ  | i   } | o t Sn | i o t Sn | i   } | i   t d t	 d  t	 d  t	 d  t	 d  f  } t d d d d	 d } d
 } xB | d r8 } | | \ }	 }
 | i |  i |
 |	 | |  |  q Wt | t	 d  d f t	 d  d f t	 d  d f g  } t d t	 d   } t | t	 d  d d  } | i | d d d d | i | d d d d d d d f d d | i | d d d d d d d f d d | i | d d d d | i d  t } xÁ| d j o | d j o
 | d j o| i   } | i  |  o | i  |  } n | t! i" t	 d   j p
 | | j o | i#   } | | \ }	 }
 |  i% | | |	  }	 |	 |
 f | | <| | j o |	 o
 d
 } n | i& |  i |
 |	 | |  |  | i' |  nŤ | d j o | i#   } | | \ }	 }
 |	 ov | o6 | | \ } } | i& |  i | | | d
  |  n | } | i& |  i |
 |	 | |  |  | i' |  n n qĺW| i*   | d j o t+ Sn | i, |  t- Sd  S(   Ns   %-10s  %-25s %-7s %-10ss   Devices   Partition types   Defaults
   Boot labeli   s   scrolli   s
   returnExits    i    s   Oks   oks   Edits   edits   Backs   backi7   sž   The boot manager Red Hat uses can boot other operating systems as well. You need to tell me what partitions you would like to be able to boot and what label you want to use for each of them.s   LILO Configurationi   s
   anchorLefts   paddingi   i   s   growxs   F2s   F12(.   s   todos   getLiloImagess   imagess   INSTALL_NOOPs   skipLilos   keyss
   sortedKeyss   sorts   Labels   _s   listboxLabels   Listboxs   listboxs   defaults   ns   labels   types   appends   selfs   formatDevices	   ButtonBars   screens   buttonss   TextboxRefloweds   texts   GridForms   gs   adds	   addHotKeys   Nones   results   runs   buttonPresseds   strings   lowers   currents   items   editItems   replaces
   setCurrents   oldLabels   oldTypes	   popWindows   INSTALL_BACKs   setLiloImagess
   INSTALL_OK(   s   selfs   screens   todos   imagess
   sortedKeyss   listboxLabels   listboxs   defaults   ns   labels   types   buttonss   texts   gs   results   items   oldLabels   oldTypesa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys   __call__ sn     
 
4	 &<++ ')
" 
(   s   editItems   formatDevices   __call__(    sa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys   LiloImagesWindowM s    	"	N(	   s   gettexts   snacks   *s   textw.constantss   texts   _s   LiloAppendWindows
   LiloWindows   LiloImagesWindow(    sa   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/lilo.pys   ? s   #!