%PDF- %PDF-
Direktori : /lib/python3/dist-packages/UpdateManager/__pycache__/ |
Current File : //lib/python3/dist-packages/UpdateManager/__pycache__/UpdatesAvailable.cpython-312.pyc |
� QKf%� � �� � d dl Z e j dd� d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d d lmZ d dl Z e j d de� d dlZd dl Z d dlZd dlZd dlZd dlZd dlmZ d d lmZ ddlmZmZ ddlmZ ddlmZ ddlmZ d dlmZ ddl m Z ddl!m!Z! e"d� \ Z#Z$Z%Z&Z'ddl(m)Z) G d� d� Z* G d� dejV � Z, G d� de� Z-y)� N�Gtkz3.0)�GLib)r )�Gdk)�GObject)�Gio)�Pango�ignorezAccessed deprecated property)�gettext)�ngettext� )� humanize_size�SoftwarePropertiesPage)�AlertWatcher)�UpdateSystemGroup)�InternalDialog)�NotEnoughFreeSpaceError)�ChangelogViewer)�UnitySupport� )�NetworkManagerHelperc � � e Zd Zd� Zy)� UpdateDatac �6 � |r|ng | _ || _ || _ y �N)�groups�group�item)�selfr r r s �@/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py�__init__zUpdateData.__init__[ s � � &�f�B����� ��� � N)�__name__� __module__�__qualname__r � r! r r r Z s � �r! r c �* � e Zd ZdZdd�Zd� Zd� Zd� Zy)�CellAreaPackagea This CellArea lays our package cells side by side, without allocating width for a cell if it isn't present (like icons for header labels). We assume that the last cell should be expanded to fill remaining space, and other cells have a fixed width. c �l � t j j | � || _ d | _ i | _ y r )r �CellAreaBoxr �indent_toplevel�column�cached_cell_size)r r* s r r zCellAreaPackage.__init__h s+ � ���� � ��&�.������ "��r! c � �� g ��fd�}| j |d � i }t �� D ]q \ }} t | t j � r| j d� } | d u }nd}|||<