403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.173
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/system-config-printer/troubleshoot/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/system-config-printer/troubleshoot/__pycache__/QueueNotEnabled.cpython-310.pyc
o

3�bX�@s0ddlmZddlZddlTGdd�de�ZdS)�)�GtkN�)�*c@s$eZdZdd�Zdd�Zdd�ZdS)�QueueNotEnabledcCsft�||d�t��|_t��}|j�d�|j�dd�|�|jddd�|�	d�|�
||�dS)NzQueue not enabled?TrF�)�Question�__init__r�Label�label�VBox�
set_line_wrap�
set_alignment�
pack_start�set_border_width�new_page)�self�troubleshooter�solution�r�@/usr/share/system-config-printer/troubleshoot/QueueNotEnabled.pyrs

zQueueNotEnabled.__init__cCs�|jj}|ds
dS|dr|d}n|d}|dtjk}|r"dS|dr/|d}|d	}n|d	}|r<td
�|}ntd�}dtd
�dtd�|d}|rX|d|7}|dsn|d7}|td�7}|dtt�7}|j�|�dS)N�cups_queue_listedF�
is_cups_class�cups_class_dict�cups_printer_dictz
printer-state�cups_printer_remote�remote_cups_queue_attributeszprinter-state-messagezThe reason given is: '%s'.zBThis may be due to the printer being disconnected or switched off.z"<span weight="bold" size="larger">zQueue Not Enabledz	</span>

zThe queue '%s' is not enabled.�
cups_queue� z

zuTo enable it, select the 'Enabled' checkbox in the 'Policies' tab for the printer in the printer administration tool.T)r�answers�cups�IPP_PRINTER_STOPPED�_�TEXT_start_print_admin_toolr
�
set_markup)rr�queue�enabled�attrs�reason�textrrr�display%sB

����zQueueNotEnabled.displaycCsdS)NFr)rrrr�can_click_forwardQsz!QueueNotEnabled.can_click_forwardN)�__name__�
__module__�__qualname__rr)r*rrrrrs
,r)�
gi.repositoryrr�baserrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit