| Server IP : 39.108.156.168 / Your IP : 216.73.216.104 Web Server : nginx/1.24.0 System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Upload File : |
�
g
fG � � � d Z dZdZdZdZdZ ddlZddlZdd l m
Z
dd
l mZ ddl mZ ddl m
Z
dd
l mZ ddl mZ G d� d� Z e� Zd� Zy# e$ r dZY �Fw xY w)z(Module for presenting system informationz$Id$z
$Revision$z$Date$zyCopyright (c) 2005-2008 Sun Microsystems Inc.Copyright (c) 2016-2024 Igalia, S.L.Copyright (c) 2024 GNOME Foundation Inc.�LGPL� N� )�cmdnames)�debug)�input_event)�keybindings)�messages)�settings_managerc �R � e Zd ZdZd� Zdd�Zd
d�Zd� Zd� Zdd�Z dd �Z
dd
�Zdd�Zy)�SystemInformationPresenterz0Provides commands to present system information.c �b � | j d� | _ t j � | _ y )NT)�get_handlers� _handlersr �KeyBindings� _bindings)�selfs �C/usr/lib/python3/dist-packages/orca/system_information_presenter.py�__init__z#SystemInformationPresenter.__init__2 s$ � ��*�*�4�0���$�0�0�2��� c � � |rCd}t j t j |d� | j � | j S | j j � r| j � | j S )z5Returns the system-information-presenter keybindings.z2SYSTEM INFORMATION PRESENTER: Refreshing bindings.T)r �printMessage�
LEVEL_INFO�_setup_bindingsr �isEmpty)r �refresh�
is_desktop�msgs r �get_bindingsz'SystemInformationPresenter.get_bindings6 sd � � �F�C����u�/�/��d�;�� � �"� �~�~�� �^�^�
#�
#�
%�� � �"��~�~�r c � � |r7d}t j t j |d� | j � | j S )z2Returns the system-information-presenter handlers.z2SYSTEM INFORMATION PRESENTER: Refreshing handlers.T)r r r �_setup_handlersr )r r r s r r z'SystemInformationPresenter.get_handlersB s: � � �F�C����u�/�/��d�;�� � �"��~�~�r c �8 � i | _ t j | j t j
� | j d<