%PDF- %PDF-
Direktori : /usr/share/system-config-printer/__pycache__/ |
Current File : //usr/share/system-config-printer/__pycache__/optionwidgets.cpython-312.pyc |
� Hf�# � �� � d dl Z d dlmZ d dlZd dlZ ej e j e j �� d dlZd d�Z G d� d� Z G d� de � Z G d � d e � Z G d� de� Z y)� N)�Gtk)�domain� localedirc � � | j }|t j k( r@t | j � dk7 r(t d| j z � t j }|t j k( rt | |||�� S |t j k( rt | |||�� S |t j k( rt | |||�� S y)zFactory function� z%Treating Boolean option %s as PickOne�� tab_labelN)�ui�cups�PPD_UI_BOOLEAN�len�choices�print�keyword�PPD_UI_PICKONE� OptionBool� OptionPickOne�PPD_UI_PICKMANY�OptionPickMany)�option�ppd�guir r s �1/usr/share/system-config-printer/optionwidgets.py�OptionWidgetr s� � � ���B� �d�!�!�!��V�^�^���!� �5����F�G� � � �� �T� � � ��&�#�s�i�@�@� �t�"�"� "��V�S�#��C�C� �t�#�#� #��f�c�3�)�D�D� $� c �N � e Zd Zdd�Zd d�Zd� Zd� Zd� Zd� Zd� Z d d �Z d � Zd� Zy)�OptionNc �$ � || _ || _ || _ d| _ || _ t j � }t j � | _ t j j t j t j j � }| j j |� | j j d� |j | j � || _ | j j# d| j$ � |j'