| Server IP : 209.205.66.10 / Your IP : 216.73.216.173 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : ( 1006) PHP Version : 8.5.8 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/aptdaemon/__pycache__/ |
Upload File : |
o
T@3b�� � @ s6 d Z dZdZddlZddlZddlZddlZddlZddlZe� dd� e� dd� e� d d� ddl
Z
dd
lmZ ddlm
Z
ddlmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlT ddlmZ ddlmZ dd� Zeed��\ZZG dd� dej�ZG dd� de�Z G dd� de�Z!G dd� dej"�Z#G d d!� d!ej"�Z$G d"d#� d#ej%�Z&G d$d%� d%ej'�Z(G d&d'� d'ej)�Z*G d(d)� d)ej+�Z,G d*d+� d+ej-�Z.G d,d-� d-ej/�Z0G d.d/� d/ej/�Z1G d0d1� d1ej2�Z3G d2d3� d3ej/�Z4G d4d5� d5e1�Z5d6Z6G d7d8� d8ej7�Z8G d9d:� d:e1�Z9G d;d<� d<e9�Z:dS )=zE
This module provides widgets to use aptdaemon in a GTK application.
z%Sebastian Heinlein <devel@glatzor.de>)�AptConfigFileConflictDialog�AptCancelButton�AptConfirmDialog�AptProgressDialog�AptTerminalExpander�
AptStatusIcon�AptRoleIcon�AptStatusAnimation�AptRoleLabel�AptStatusLabel�AptMediumRequiredDialog�AptMessageDialog�AptErrorDialog�AptProgressBar�DiffView�AptTerminal� N�Vtez2.91�Gdkz3.0�Gtk)�GObject)�GLib)r )r )�Pango)r � )�client)�*)�inline_callbacks)� deferablec C s t �d| �S )N� aptdaemon)�gettext�dgettext)�msg� r! �7/usr/lib/python3/dist-packages/aptdaemon/gtk3widgets.py�<lambda>; s r# � c @ s: e Zd ZdZdejjfdd�Zdd� Zdd� Z d d
� Z
dS )r zi
Provides a Gtk.Image which shows an icon representing the status of a
aptdaemon transaction
Nc C sD t j�| � || _d | _g | _| �dd� |d ur | �|� d S d S �Nr )r �Image�__init__�
_icon_size� icon_name�_signals�
set_alignment�set_transaction)�self�transaction�sizer! r! r"