%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/system-config-printer/troubleshoot/__pycache__/
Upload File :
Create Path :
Current File : //usr/share/system-config-printer/troubleshoot/__pycache__/NetworkCUPSPrinterShared.cpython-312.pyc

�

Hf|��8�ddlZddlmZddl�Gd�de�Zy)�N)�TimedOperation�)�*c�*�eZdZd�Zd�Zd�Zd�Zd�Zy)�NetworkCUPSPrinterSharedc��tj||d�|jtd�td��}|j	||�y)NzQueue not shared?zQueue Not Sharedz-The CUPS printer on the server is not shared.)�Question�__init__�initial_vbox�_�new_page)�self�troubleshooter�pages   �I/usr/share/system-config-printer/troubleshoot/NetworkCUPSPrinterShared.pyr
z!NetworkCUPSPrinterShared.__init__sL�����4��1D�E�� � �!�$6�"7�"#�%.�#/�0��	����t�,�c�&�i|_|jj}d|vr	|ddk(ry|jj�}d|vr�d|vrd|vsy	|d}ttj
d|i|��|_|jj�}t|j|df|��|_|jj�}||jd<n|d}d	|vr|d	sy
y#t$rYytj$rYywxYw)N�remote_cups_queue_listedF�remote_cups_queue_attributes�remote_server_try_connect�remote_cups_queue�host)�kwargs�parent)�argsrzprinter-is-sharedT)�answersr�
get_windowr�cups�
Connection�op�run�getPrinterAttributes�RuntimeError�IPPError)rrrr�c�attrs      r�displayz NetworkCUPSPrinterShared.display!s*������%�%�-�-��&�'�1��.�/�5�8���$�$�/�/�2��)��8�/�7�:�'�7�2��

��:�;��(�$�/�/�28�$��17�9����G�G�K�K�N��(�!�*@�*@�07�8K�0L�/N�17�9����w�w�{�{�~��<@�D�L�L�7�8��9�:�D��$�&��+�,���� �
���=�=�
��
�s�A=C0�0	D�;D�Dc��y)NF��rs r�can_click_forwardz*NetworkCUPSPrinterShared.can_click_forwardHs��rc��|jS�N)rr*s r�collect_answerz'NetworkCUPSPrinterShared.collect_answerKs���|�|�rc�8�|jj�yr-)r �cancelr*s r�cancel_operationz)NetworkCUPSPrinterShared.cancel_operationNs�������rN)�__name__�
__module__�__qualname__r
r'r+r.r1r)rrrrs��-�%�N��rr)r�timedopsr�baser	rr)rr�<module>r7s��,�#��6�x�6r

Zerion Mini Shell 1.0