| 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 : |
o
�Zb� � @ sB d dl mZmZ d dlZd dlZd dlmZ G dd� dej�ZdS )� )�Gtk�GObjectN)�trackersc sL e Zd ZdZdejjddfiZ� fdd�Zd
dd�Z d d
� Z
dd� Z� ZS )�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� c s� t t| ��� | �tjj� | �� �d� | � dd� d| _
tjtjj
d�}| �|� tj�d�| _|�| jddd� tj�d tjj�| _|�| jddd� |�� tj| _t�� �| jd
| j � d S )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.pyr s"