%PDF- %PDF-
Direktori : /lib/python3/dist-packages/orca/scripts/apps/gnome-shell/__pycache__/ |
Current File : //lib/python3/dist-packages/orca/scripts/apps/gnome-shell/__pycache__/script.cpython-312.pyc |
� g f; � � � d Z dZdZdZdZddlmZ ddlmZ ddl m c mc mZ ddl mZ ddlmZ d d lmZ d dlmZ G d� d ej* � Zy)z$Id$z $Revision$z$Date$z$Copyright (c) 2010-2013 Igalia, S.L.�LGPL� N)�AXObject)�AXUtilities� �� Formatting�� Utilitiesc �\ � � e Zd Zd� Zd� Zd� Z� fd�Zd� Z� fd�Zd� Z d� Z d � Z� fd �Z� xZ S )�Scriptc �D � t j j | |� y �N)�clutterr �__init__)�self�apps �F/usr/lib/python3/dist-packages/orca/scripts/apps/gnome-shell/script.pyr zScript.__init__) s � �������c�*� c � � t | � S )z/Returns the formatting strings for this script.r �r s r � getFormattingzScript.getFormatting, s � ��$��r c � � t | � S r r r s r �getUtilitieszScript.getUtilities0 s � ����r c �V �� | j j � t �| � � y)z'Called when this script is deactivated.N)� utilities�clearCachedObjects�super� deactivate)r � __class__s �r r zScript.deactivate3 s �� � ���)�)�+� ���r c � � t j |j � r| j j |� S t j j | |� S )zsDetermines whether or not this event should be skipped due to being redundant, part of an event flood, etc.)r � is_window�sourcer �isBogusWindowFocusClaimr r �skipObjectEvent�r �events r r$ zScript.skipObjectEvent9 sB � � � � ����.��>�>�9�9�%�@�@��~�~�-�-�d�E�:�:r c �" �� |�{|j dk( rl|�jt j |� sU| j dd� }|rA|j |j k7 r(d}t j t j |d� y t �| �% |||� y )Nzwindow:activatezobject:state-changed:focusedTzIGNOME SHELL: Have matching focused event. Not announcing nameless window.) �typer �get_name�_getQueuedEventr"