%PDF- %PDF-
Direktori : /usr/share/system-config-printer/troubleshoot/__pycache__/ |
Current File : //usr/share/system-config-printer/troubleshoot/__pycache__/RemoteAddress.cpython-312.pyc |
� Hf� � �0 � d dl mZ ddl� G d� de� Zy)� )�Gtk� )�*c � � e Zd Zd� Zd� Zd� Zy)� RemoteAddressc � � t j | |d� | j t d� t d� � }t j � }|j d� |j d� |j |ddd� t j t d� �� }|j dd� |j |ddd d � t j � | _ | j j d � |j | j d dd d � t j t d� �� }|j dd� |j |dd d d � t j � | _ | j j d � |j | j d d d d � |j! || � y )NzRemote addresszRemote AddresszRPlease enter as many details as you can about the network address of this printer.� Fr zServer name:)�labelr TzServer IP address:)�Question�__init__�initial_vbox�_r �Grid�set_row_spacing�set_column_spacing� pack_start�Label� set_alignment�attach�Entry�server_name�set_activates_default� server_ipaddr�new_page)�self�troubleshooter�page�gridr s �>/usr/share/system-config-printer/troubleshoot/RemoteAddress.pyr zRemoteAddress.__init__ sl � ����4��1A�B�� � �!�$4�"5�"#� %/� #0�1�� �x�x�z�����a� �����#�����u�e�Q�/�� � ��.� 1�2�� ���Q��"����U�A�q�!�Q�'��9�9�<������.�.��5����T�%�%�q�!�Q��2�� � ��"6� 7�8�� ���Q��"����U�A�q�!�Q�'� �Y�Y�\������0�0�$�7����T�'�'��A�q�!�4�����t�,� c �D � | j j }|d ry|d S )N�cups_queue_listedF�printer_is_remote)r �answers)r r$ s r �displayzRemoteAddress.display5 s+ � ��%�%�-�-���&�'���*�+�+r c � � | j si S | j j � | j j � d�S )N)�remote_server_name�remote_server_ip_address)� displayedr �get_textr )r s r �collect_answerzRemoteAddress.collect_answer<