+
    QDb}  c                   s    ^ RI t ^ RIt^ RIHt ^ RIt]P
                  ! ] P                  ] P                  R7       R	R ltR	R lt	R	R lt
R	R ltR	R ltR# )
    N)Gtk)Zdomain	localedirc           	      s    \         P                  ! VR R V\         P                  P                  V R7      pVP	                  V4       VP                  4        VP                  4        R# )T)parentZmodalZdestroy_with_parentZmessage_typeZbuttonstextN)r   ZMessageDialogZButtonsTypeZOKZformat_secondary_textZrunZdestroy)titler   Ztyper   Zdialogs   &&&& 0/usr/share/system-config-printer/errordialogs.pyshow_dialogr      sO    v&*-1(+(:(:%*	,F
   $'
JJM
NN    c                 N    \        W\        P                  P                  VR 7      # )r   )r   r   MessageTypeZINFOr   r   r      &&&r   show_info_dialogr   (   s    S__%9%9&IIr   c                 r	   r
   )r   r   r   ZERRORr   r   r   show_error_dialogr   +   s    S__%:%:6JJr   c                 s    V ^ 8X  d   R# V \         P                  8X  d   R# \        R4      p\        R4      V,          p\        W4V4       R# )r    NCUPS server errorz3There was an error during the CUPS operation: '%s'.)cupsZIPP_SERVICE_UNAVAILABLE_r   )Z	exceptionZmessager   r   r   s   &&&  r   show_IPP_Errorr   .   sK    A~	d22	2%& $ %'./ uF+r   c                 sn   V \         P                  8X  g   V \         P                  8X  d   \        R 4      p\        R4      pM\        R4      pV \         P                  8X  d   \        R4      pMV \         P
                  8X  d   \        R4      pMV \         P                  8X  d   \        R4      pMgV \         P                  8X  d   \        R4      pMFV \         P                  8X  d   \        R4      pM%V R8X  d   \        R4      pM\        R	4      V ,          p\        R
4      V,          p\        W#V4       R# )zNot authorizedz]The password may be incorrect, or the server may be configured to deny remote administration.r   zBad requestz	Not foundzRequest timeoutzUpgrade requiredzServer errorzNot connectedz	status %szThere was an HTTP error: %s.Ni)
r   ZHTTP_UNAUTHORIZEDZHTTP_FORBIDDENr   ZHTTP_BAD_REQUESTZHTTP_NOT_FOUNDZHTTP_REQUEST_TIMEOUTZHTTP_UPGRADE_REQUIREDZHTTP_SERVER_ERRORr   )Zstatusr   r   r   Zmsgs   &&   r   show_HTTP_Errorr   <   s    $((($%%%"# + , %&T***M"Ct***K.Ct000%&Ct111&'Ct---N#Cr\O$CK.6)C/036uF+r   )N)Zconfigr   Zgi.repositoryr   ZgettextZinstallZPACKAGEr   r   r   r   r   r   ) r   r   <module>r      sF   0     v~~1A1A BJK,,r   