| 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-printer/ |
Upload File : |
Ñò
ÛßêJc @ s™ d d k Z d d k Z d d k l Z d d k Z d d „ Z d d d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ
d
e
f d „ ƒ YZ d S(
iÿÿÿÿN( t gettextc C sÁ | i } | t i j o/ t | i ƒ d j o d | i GHt i } n | t i j o t | | | d | ƒS| t i j o t | | | d | ƒS| t i j o t
| | | d | ƒSd S( s Factory functioni s% Treating Boolean option %s as PickOnet tab_labelN( t uit cupst PPD_UI_BOOLEANt lent choicest keywordt PPD_UI_PICKONEt
OptionBoolt
OptionPickOnet PPD_UI_PICKMANYt OptionPickMany( t optiont ppdt guiR R ( ( s1 /usr/share/system-config-printer/optionwidgets.pyt OptionWidget s
t Optionc B sk e Z d
d „ Z e d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
e d „ Z d „ Z d „ Z
RS( c C s# | | _ | | _ | | _ t | _ | | _ t i ƒ } t i ƒ | _ t i
t i t i ƒ } | i i
| ƒ | i i t ƒ | i
| i ƒ | | _ | i i d | i ƒ | i ƒ g } | i D]7 } | i | i j p | i | i j o | | qÇ qÇ ~ | _ t ƒ | _ d | _ d S( Nt clickedt ( R
R R t Truet enabledR t gtkt VBoxt Buttont btnConflictt image_new_from_stockt STOCK_DIALOG_WARNINGt ICON_SIZE_SMALL_TOOLBARt addt set_no_show_allt conflictIcont connectt on_btnConflict_clickedt showt constraintst option1R t option2t sett conflictst conflict_message( t selfR
R R R t vboxt icont _[1]t c( ( s1 /usr/share/system-config-printer/optionwidgets.pyt __init__- s(
*c C s | i i | ƒ | | _ d S( N( t selectort
set_sensitiveR ( R) R ( ( s1 /usr/share/system-config-printer/optionwidgets.pyt enableL s c C s | i t ƒ d S( N( R1 t False( R) ( ( s1 /usr/share/system-config-printer/optionwidgets.pyt disableP s c C s | i S( N( R ( R) ( ( s1 /usr/share/system-config-printer/optionwidgets.pyt
is_enabledS s c C s
t ‚ d S( N( t NotImplemented( R) ( ( s1 /usr/share/system-config-printer/optionwidgets.pyt get_current_valueV s c C s | i ƒ | i i j S( N( R6 R
t defchoice( R) ( ( s1 /usr/share/system-config-printer/optionwidgets.pyt
is_changedY s c C s1 | i o# | i i | i i | i ƒ ƒ n d S( N( R R t
markOptionR
R R6 ( R) ( ( s1 /usr/share/system-config-printer/optionwidgets.pyt writeback\ s
c
C s | i ƒ } x| i D]} | i | i i j o1 | i i i | i d ƒ } | i
} | i } n. | i i i | i d ƒ } | i } | i
} | d j o q n | | j oB | i ƒ | j o/ | i i
| ƒ | o | i d t ƒ q'q | | i j o$ | i i | ƒ | i d t ƒ q q Wt d ƒ g } xn | i D]c } | i | i i j o | i i i | i ƒ } n | i i i | i ƒ } | i | i i ƒ qDWd i | ƒ } | | _ | i o! | i i | ƒ | i i ƒ n | i i ƒ | i i | ƒ | i S( Nt
update_otherss Conflicts with:s
( R6 R# R$ R
R R t optionst getR% t Nonet choice1t choice2R' R t checkConflictsR2 t removet _t appendt textt joinR( R t set_tooltip_textR"