403Webshell
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/orca/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/orca/__pycache__/notification_messages.cpython-310.pyc
o

S�b��@sdZdZdZdZdZdZddlZdd	lmZdd
lm	Z	ddlm
Z
ddlmZdd
lmZgZ
dZdadaiZd+dd�Zd+dd�Zd+dd�Ze
�eej�ed<e
�eej�ed<e
�eej�ed<dd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Z d,d)d*�Z!dS)-z Module for notification messagesz$Id$z
$Revision$z$Date$z-Copyright (c) 2010 Informal Informatica LTDA.�LGPL�N�)�cmdnames)�debug)�input_event)�messages)�
orca_state�7cC�t|d�dS)z( Repeats the last notification message. rT��_showNotificationMessage��script�
inputEvent�r�</usr/lib/python3/dist-packages/orca/notification_messages.py�repeatLastNotificationMessage4�
rcCr
)z, Repeats the previous notification message. �Trr
rrr�!repeatPreviousNotificationMessage:rrcCst|�dS)z+ Enables the list of notification message. T)�_listModeEnabler
rrr�!enableNotificationMessageListMode@sr�$repeatLastNotificationMessageHandler�(repeatPreviousNotificationMessageHandler�(enableNotificationMessageListModeHandlercCs|�|�dS�N)�presentMessage)r�msgrrr�_showMessageUsrcCs<t�tkr
td=t�tkst�|�t�tjdt��dS)z0save the message in a list to be presented laterrzsaveMessage (queue length: %s)N)�size�maxSizeList�notificationMessages�appendr�println�LEVEL_FINEST)rrrr�saveMessageXs

�
��r%cCstt�S)z' return the size of the queue messages )�lenr!rrrrrdsrcCst�dkr
t|tj�dSdS)NrFT)rrr�NOTIFICATION_NO_MESSAGES�rrrr�_messagesPresentis
r)cCs.t|�rdadadt_t|d�t|t�dS)z0 enable the list mode if the queue is not empty rrT)r)�indexNotificationMessages�invalidKeysr�listNotificationsModeEnabled�_helprr(rrrrqs

rcCs�t|�sdS|dkrd}t|tj�n|t�kr!t�}t|tj�|at�|}t�tj	dt�|f�|dkrH|t�krJt
|}t||�dSdSdS)Nrz6_showNotificationMessage (queue length: %s, index: %s)r)r)rr�NOTIFICATION_LIST_TOPr�NOTIFICATION_LIST_BOTTOMr*rr#r$r!)r�indexrrrrrs&

���rcCsdt_t|tj�dS)z, Turns list notification messages mode off. FN)rr,rr�NOTIFICATION_LIST_EXITr(rrr� exitListNotificationMessagesMode�sr2cCs�d}d}|jtjkrdS|��|jdkrt|�d}nS|jdkr$danK|jdkr-t�anB|jdkr7td8an8|jdkrAtd7an.|jd	vrLt|j�an#|jd
vrYt	|d�d}n|jdkr_nd}t
d7a
t
dkrot	|�d
a
|rxt|t�d
a
|S)a When list notification messages  mode is enabled, this function
    provides a means by which users can navigate through the list the
    notification messages. User can use the navigation keys or press
    the number of the message. Pressing escape key disable the mode.
    TF�Escape�Homer�End�Up�Down)	�1�2�3�4�5�6�7�8�9)�h�H�spacerr)�type�pyatspi�KEY_PRESSED_EVENT�presentationInterrupt�event_stringr2r*r�intr-r+r)r�event�consumed�speakrrr�listNotificationMessages�sD	






�



rMFcCs2t�t��}|tj7}|r|tj7}t||�dSr)r�
messagesCountr�NOTIFICATION_LIST_HELP�NOTIFICATION_LIST_TUTORIALr)r�longHelprrrrr-�s


r-r)F)"�__doc__�__id__�__version__�__date__�
__copyright__�__license__rE�rrrrrr!r r*r+�inputEventHandlersrrr�InputEventHandler�NOTIFICATION_MESSAGES_LAST�NOTIFICATION_MESSAGES_PREVIOUS�NOTIFICATION_MESSAGES_LISTrr%rr)rrr2rMr-rrrr�<module>sX


������/

Youez - 2016 - github.com/yon3zu
LinuXploit