%PDF- %PDF-
Mini Shell

Mini Shell

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

�

4��e����ddlmZddlmZdZ	ddlZejdd�ddlmZd	ZGd�dej�Zed
k(r�ej�Zejdd�ej �Zed�Zej'e�ej'e�ej)�ej*�yy#e	$r	dd
lmZY��wxYw)�)�open_url�)�GtkFN�WebKit2z4.1)rT)�WebKitc�*��eZdZ�fd�Zd�Zd�Z�xZS)�ReleaseNotesViewerWebkitc����tt|��|j|�tr|jd|j�y|jd|j�y)Nz
decide-policyz$navigation-policy-decision-requested)�superr	�__init__�load_uri�webkit2�connect�_on_decide_policy�(_on_navigation_policy_decision_requested)�self�	notes_url�	__class__s  ��F/usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.pyrz!ReleaseNotesViewerWebkit.__init__*sR���
�&��6�8��
�
�i� ���L�L���/�/�
1�
�L�L�?��F�F�
H�c�V�t|j��|j�y)NT)r�get_uri�ignore)r�view�frame�request�action�policys      rrzAReleaseNotesViewerWebkit._on_navigation_policy_decision_requested4s������"�#��
�
��rc�0�|tjjk(ry|j�}|j	�}|j�}|tjjk(r,|j�}t|�|j�yy)NTF)r�PolicyDecisionType�NAVIGATION_ACTION�get_navigation_action�get_request�get_navigation_type�NavigationType�LINK_CLICKEDrrr)r�web_view�decision�
decision_type�navigation_action�navigation_request�navigation_type�uris        rrz*ReleaseNotesViewerWebkit._on_decide_policy:s{���F�5�5�G�G�G� (� >� >� @��!2�!>�!>�!@��/�C�C�E�O��&�"7�"7�"D�"D�D�(�0�0�2����
����!��r)�__name__�
__module__�__qualname__rrr�
__classcell__)rs@rr	r	)s���H��rr	�__main__iXi�zdhttp://archive.ubuntu.com/ubuntu/dists/devel/main/dist-upgrader-all/current/ReleaseAnnouncement.html)�ReleaseNotesViewerr�
gi.repositoryrr�gi�require_versionrr�ImportError�WebViewr	r.�Window�win�set_size_request�ScrolledWindow�scroll�rv�add�show_all�main�rr�<module>rCs���6)��
��%�
��B���y�%�(�/��G�
�v�~�~��@�z��
�#�*�*�,�C�����c�"�
�S�
�
�
!�F�	!�#=�
>�B��J�J�r�N��G�G�F�O��L�L�N��C�H�H�J���I�%�$�%�s�C
�
C�C

Zerion Mini Shell 1.0