
    g
f                     |    d Z dZdZdZdZdZddlmZ ddlm	c m
Z
 ddlmZ ddlmZ  G d de
j                        Zy)	z+ Custom script for The notification daemon. z-Copyright (c) 2005-2008 Sun Microsystems Inc.LGPL    N)AXUtilitiesc                       e Zd Zd Zy)Scriptc                    t        j                  |j                        }|D cg c]  }| j                  j	                  |       }}t
        j                   ddj                  |       }| j                  j                  |j                  |      }| j                  ||       | j                  |t        j                         | j                  j                  |       yc c}w )z0Callback for window:create accessibility events. )objstring)voice)	flashTimeN)r   find_all_labelssource	utilitiesdisplayedTextmessagesNOTIFICATIONjoinspeechGeneratorr   speakMessagedisplayBrailleMessagesettingsbrailleFlashTimenotificationPresentersave_notification)selfevent	allLabelsacctextstextr   s          N/usr/lib/python3/dist-packages/orca/scripts/apps/notification-daemon/script.pyonWindowCreatedzScript.onWindowCreated*   s      //=	>GHs--c2HH''(#((5/):;$$**u||D*I$e,""483L3L"M""44T: Is   "C#N)__name__
__module____qualname__r#        r"   r   r   (   s    
;r(   r   )__doc____id____version____date____copyright____license__orca.messagesr   orca.scripts.defaultscriptsdefaultorca.settingsr   orca.ax_utilitiesr   r   r'   r(   r"   <module>r5      sB   ( 2?   & &   );W^^ ;r(   