%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__/QueueRejectingJobs.cpython-312.pyc

�

Hf���8�ddlmZddlZddl�Gd�de�Zy)�)�GtkN�)�*c��eZdZd�Zd�Zd�Zy)�QueueRejectingJobsc�x�tj||d�tj�}|j	d�|jd�tjdtd�zdz��}|jdd�|jd�|j|d	d	d�tj�|_|jjdd�|jjd�|j|jd	d	d�|j	d�|j||�y)
NzQueue rejecting jobs?�z"<span weight="bold" size="larger">zQueue Rejecting Jobsz</span>)�labelrTF)�Question�__init__r�VBox�set_border_width�set_spacing�Label�_�
set_alignment�set_use_markup�
pack_startr
�
set_line_wrap�new_page)�self�troubleshooter�solutionr
s    �C/usr/share/system-config-printer/troubleshoot/QueueRejectingJobs.pyrzQueueRejectingJobs.__init__s�����4��1H�I��8�8�;���!�!�2�&����b�!��	�	� D��3�4�!5�7@�!A�B��
���Q��"�
���d�#����U�E�5�!�4��Y�Y�\��
��
�
� � �!�Q�'��
�
� � �$�'����T�Z�Z���q�9��!�!�2�&�����4�0�c��|jj}|dsy|dr|d}n|d}|dtjz}|sy|dr|d}|d	}n|d	}t	d
�|dz}|r|dt	d
�|zzz
}|ds&|dz
}|t	d�dzt	t
�zz
}|jj|�y)N�cups_queue_listedF�
is_cups_class�cups_class_dict�cups_printer_dictzprinter-type�cups_printer_remote�remote_cups_queue_attributeszprinter-state-messagez!The queue '%s' is rejecting jobs.�
cups_queue� zThe reason given is: '%s'.z

z�To make the queue accept jobs, select the 'Accepting Jobs' checkbox in the 'Policies' tab for the printer in the printer administration tool.T)r�answers�cups�CUPS_PRINTER_REJECTINGr�TEXT_start_print_admin_toolr
�set_text)rr%�queue�	rejecting�attrs�reason�texts       r�displayzQueueRejectingJobs.display-s���%�%�-�-���*�+���?�#��-�.�E��/�0�E��.�)�D�,G�,G�G�	����(�)��:�;�E��2�3�F��2�3�F��5�6���9N�N����C�!�8�9�F�B�B�B�D��,�-��F�N�D��A���"%�%�()�)D�'E�F�
F�D�
	
�
�
���T�"�rc��y)NF�)rs r�can_click_forwardz$QueueRejectingJobs.can_click_forwardPs��rN)�__name__�
__module__�__qualname__rr/r2r1rrrrs��1�$!�Frr)�
gi.repositoryrr&�baserrr1rr�<module>r8s��,���7��7r

Zerion Mini Shell 1.0