Sindbad~EG File Manager

Current Path : /usr/share/hplip/__pycache__/
Upload File :
Current File : //usr/share/hplip/__pycache__/systray.cpython-310.pyc

o

�/�a��@s�dZdZdZdZddlZddlZddlZddlZddlTddl	m
Z
mZddlm
Z
ed	k�r�e�e���e��kr>e��e�eeeedefeeef�Zejejd
gd�e�dd
dgd�\ZZZZZZ dZ!eD]
\Z"Z#e"dvrsdZ!qie�$�dkr�e%�&d�e�'d�edkr�e
�(�s�e%�&de�e�'d�ne
�)�s�e%�&de�e�'d�e!s�e
�*dd�e
�+�D�dd��s�e%�,d�e�'d�e�-�e�.�\Z/Z0e%�1de0e/f�e��Z2ze�3�Z4Wn-e5�yZ6z e%�&de6�e�7e0�e�7e/�e�8�e�'d�WYdZ6[6ndZ6[6wwe4�r�e�7e0�edk�r9zddl9m:Z;WnTe<�y8e%�&d�e�'d�YnAwzedk�rFddl=m:Z;ned k�rQddl>m:Z;Wn&e<�yxZ6ze%�&e6�e%�&d!�e�8�e�'d�WYdZ6[6ndZ6[6wwze;�?e/�We�8�dSe�8�we�7e/�ed"v�r�e�.�\Z@ZAe�.�\ZBZCe%�1d#eAe@f�e%�1d$eCeBf�e�3�ZDeD�r�e�7e@�ddlEZEeE�?e0eAeB�dSe�7eA�ddlFZFeF�?e@eC�dSddlEZEeE�?e0�dSdS)%z2.0z
hp-systrayzSystem Tray Status Servicez6System Tray monitors the HP device status and Displays�N)�*)�utils�module)�cups�__main__)z1Startup even if no hplip CUPS queues are present:z-x or --force-startup�optionF)�
extra_options�xz
force-startupzignore-update-firsttimeF)z-xz--force-startupTz*hp-systray cannot be run as root. Exiting.��qt3z.%s requires Qt3 GUI and DBus support. Exiting.z.%s requires Qt4 GUI and DBus support. Exiting.cCsg|]}|j�qS�)�
device_uri)�.0�prr�/usr/share/hplip/systray.py�
<listcomp>RsrcCs
|�d�S)N�hp)�
startswith)r	rrr�<lambda>Rs
rzDNo hp: or hpfax: devices found in any installed CUPS queue. Exiting.z-Creating pipe: hpssd (%d) ==> systemtray (%d)z"hp-systray: error during fork - %sz,Unable to load Qt3 support. Is it installed?�qt4�qt5z0Unable to load Qt4/Qt5 support. Is it installed?)rrz(Creating pipe: hpssd (%d) ==> hpdio (%d)z(Creating pipe: hpdio (%d) ==> hpssd (%d))G�__version__�__mod__�	__title__�__doc__�sys�os�getopt�signal�base.g�baserr�prntr�__name__�getpgid�getpid�setsid�Module�GUI_MODE�UI_TOOLKIT_QT5�UI_TOOLKIT_QT4�UI_TOOLKIT_QT3�mod�setUsage�USAGE_FLAG_NONE�parseStdOpts�optsr
�printer_name�mode�
ui_toolkit�lang�
force_startup�o�a�getuid�log�error�exit�canEnterGUIMode�canEnterGUIMode4�any�getPrinters�warn�lockInstance�pipe�r1�w1�debug�
parent_pid�fork�
child_pid1�BlockingIOErrror�e�close�unlockInstance�
ui.systemtray�
systemtray�systray�ImportError�ui4.systemtray�ui5.systemtray�run�r2�w2�r3�w3�
child_pid2�hpssd�hpdiorrrr�<module>s�
����


�




��


�

�

��



�

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists