%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/usbcreator/frontends/gtk/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/usbcreator/frontends/gtk/__pycache__/unitysupport.cpython-312.pyc

�

c�c�����ddlZdZ	ddlZejdd�ddlmZdZGd�d	e	�Z
Gd
�de
�ZereZye
Zy#e$rZejdez�YdZ[�=dZ[wwxYw)�NF�Unityz7.0)rTzcan not import unity GI %sc�$�eZdZdZd�Zd�Zdd�Zy)�
IUnitySupportz interface for unity support c��y�N�)�self�parents  �G/usr/lib/python3/dist-packages/usbcreator/frontends/gtk/unitysupport.py�__init__zIUnitySupport.__init__$���c��yrr�r	�progresss  r�set_progresszIUnitySupport.set_progress%r
rc��yrr�r	�shows  r�
show_progresszIUnitySupport.show_progress&r
rN�T��__name__�
__module__�__qualname__�__doc__rrrrrrrr"s��'�$�*�,rrc�$�eZdZdZd�Zd�Zdd�Zy)�UnitySupportImplz9 implementation of unity support (if unity is available) c�P�tjjd�}||_y)Nzusb-creator-gtk.desktop)r�
LauncherEntry�get_for_desktop_id�_unity)r	r
�usbcreator_launcher_entrys   rrzUnitySupportImpl.__init__+s#��$)�$7�$7�$J�$J�%�%'�!�/��rc�<�|jjd|�y)Nr�r"�set_propertyrs  rrzUnitySupportImpl.set_progress1s����� � ��X�6rc�<�|jjd|�y)N�progress_visibler%rs  rrzUnitySupportImpl.show_progress3s����� � �!3�T�:rNrrrrrrr(s��C�0�7�;rr)
�logging�HAVE_UNITY_SUPPORT�gi�require_version�
gi.repositoryr�ImportError�e�warn�objectrr�UnitySupportrrr�<module>r3s���.���3�
��B���w��&�#���-�F�-�;�}�;��#�L�!�L��9�3��G�L�L�-��1�2�2��3�s�A�A)�
A$�$A)

Zerion Mini Shell 1.0