| Server IP : 93.86.61.54 / Your IP : 216.73.216.156 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/lib/python3/dist-packages/softwareproperties/gtk/__pycache__/ |
Upload File : |
o
U�7es � @ s^ d dl Z d dlZe�dd� d dlmZ d dlmZ d dlmZ d dl m
Z
G dd � d �ZdS )
� N�Gtkz3.0)r )�gettext)�SourceEntry)�setup_uic @ s$ e Zd Zdd� Zdd� Zdd� ZdS )� DialogAddc C s� || _ || _|| _t| tj�|dd�dd� | j| _| j� | j� | j
| _| j| _
| j�d| j� |rEd|j|jj|j|jjd jf }nd}td �d
| }| j�|� dS )z]
Initialize the dialog that allows to add a new source entering the
raw apt line
�
gtkbuilderz
dialog-add.uizsoftware-properties)�domain�changedz%s %s %s %sr z$deb http://ftp.debian.org sarge mainz[The APT line includes the type, location and components of a repository, for example '%s'.z <i>%s</i>N)�sourceslist�parent�datadirr �os�path�join�dialog_add_custom�dialog�set_transient_for�entry_source_line�entry�button_add_source�
button_add�connect�
check_line�binary_type�source_template�base_uri�codename�
components�name�_�label_example_line� set_label)�selfr r
r �distro�example�msg� r&