%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/orca/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/orca/__pycache__/orca_gui_profile.cpython-312.pyc

�

g
f;���dZdZdZdZdZdZddlZddlZddlm	Z	d	d
l
mZd	dl
mZda
daGd�d
e	j�Zdd�Zd�Zedk(re�yy)z$Displays the Save Profile As dialog.z$Id$z
$Revision$z$Date$z2Copyright (c) 2010 Consorcio Fernando de los Rios.�LGPL�N)�Gtk�)�	guilabels)�
orca_statec�*�eZdZd�Zd�Zd�Zd�Zd�Zy)�OrcaProfileGUIc��tjj|�|jtj
�|j
d�|jdtjj�|jdtjj�tj�}|jdd�|jd�|jd�|j�}|j!|ddd�tj"�|_|j$jd	d�|j$j'd�|j)|j$d
dd
d
�tj*tj,�}|j/d�|j1|j$�|j)|ddd
d
�|j3tjj�}|jdd�|jdd�|j5d
|j6�|j5d|j8�d|_d|_d|_y)z.Initialize the Orca profile configuration GUI.Fz
gtk-cancelzgtk-save�margin��
Tr�hexpandrzcan-defaultzhas-default�response�destroyN) r�Dialog�__init__�	set_titler�PROFILE_SAVE_AS_TITLE�set_has_resize_grip�
add_button�ResponseType�CANCEL�ACCEPT�Grid�set_property�set_row_spacing�set_column_spacing�get_content_area�
pack_start�Entry�profileEntry�set_activates_default�attach�Label�PROFILE_NAME_LABEL�set_use_underline�set_mnemonic_widget�get_widget_for_response�connect�
onResponse�	onDestroy�searchString�
profileString�prefsDialog)�self�grid�contentArea�label�
defaultButtons     �7/usr/lib/python3/dist-packages/orca/orca_gui_profile.pyrzOrcaProfileGUI.__init__*s���	�
�
���D�!����y�6�6�7�� � ��'�����c�&6�&6�&=�&=�>����
�C�$4�$4�$;�$;�<��x�x�z�����(�B�'����R� �����#��+�+�-�����t�T�4��3��I�I�K������&�&�y�$�7����/�/��5����D�%�%�q�!�Q��2��	�	�)�6�6�7��
����%�
�!�!�$�"3�"3�4����E�1�a��A�&��4�4�S�5E�5E�5L�5L�M�
��"�"�=�$�7��"�"�=�$�7����Z����1����Y����/� ���!������c��d|_y)N�)r-)r/s r4�initzOrcaProfileGUI.initSs
����r5c��|j�||_|jj|j�t
jj}|dk(rtj�}|j|�y)z Show the Save Profile As dialog.rN)�show_allr.r!�set_textr-r�lastInputEvent�	timestampr�get_current_event_time�present_with_time)r/r.�tss   r4�showGUIzOrcaProfileGUI.showGUIVsc��	
�
�
��&������"�"�4�#5�#5�6�
�
&�
&�
0�
0��
��7��+�+�-�B����r�"r5c��|tjjtjjfvr|j	�y|tjj
k(r]|jj�atr|j�|jr |jjt�yyy)z7Signal handler for the responses emitted by the dialog.N)rrr�DELETE_EVENT�hiderr!�get_text�
newProfilerr.�saveProfile)r/�widgetrs   r4r*zOrcaProfileGUI.onResponsebs�����(�(�/�/��1A�1A�1N�1N�O�O��I�I�K���s�'�'�.�.�.��*�*�3�3�5�J���������� � �,�,�Z�8� �
/r5c��day)z6Signal handler for the 'destroy' signal of the dialog.N)�OS)r/rHs  r4r+zOrcaProfileGUI.onDestroyrs	��
�r5N)�__name__�
__module__�__qualname__rr8rAr*r+�r5r4r	r	(s��' �R �
#�9� r5r	c�z�datst�atj�tj	|�y�N)rFrJr	r8rA)r.s r4�
showProfileUIrQys)���J�
�
�
��
���	��J�J�{�r5c��tjtjd�t�t	j
�t
jd�y)Nr7r)�locale�	setlocale�LC_ALLrQr�main�sys�exitrNr5r4rVrV�s/��
���V�]�]�B�'��O��H�H�J��H�H�Q�Kr5�__main__rP)�__doc__�__id__�__version__�__date__�
__copyright__�__license__rSrW�
gi.repositoryrr7rrrJrFrr	rQrVrKrNr5r4�<module>rasm��,+�������D�
���
�
����	��
�
�O�S�Z�Z�O�b
���z���F�r5

Zerion Mini Shell 1.0