403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.114
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/speech_generator.pyc
Ñò
x#ÝJc@sldZdZdZdZdZdZddkZddkiZddk	l
Z
d	eifd
„ƒYZdS(sCustom script for Evolution.s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2009 Sun Microsystems Inc.tLGPLiÿÿÿÿN(t_tSpeechGeneratorcBs2eZdZd„Zd„Zd„Zd„ZRS(s}Overrides _generateSpeechForTableCell so that, if this is an
       expanded table cell, we can strip off the "0 items".
    cCstii||ƒdS(N(tspeech_generatorRt__init__(tselftscript((sP/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/speech_generator.pyR)scKs¾tititig}|ii||ƒoz|iƒ}|oc|itiƒoP|iti	ƒo9|i
d|ƒ}|i||}|i||ƒ|Sq¨nt
ii|||S(Nt ALTERNATIVE_REAL_ROLE_TABLE_CELL(tpyatspitROLE_TABLE_CELLtROLE_TREE_TABLEtROLE_UNKNOWNt_scripttisDesiredFocusedItemtgetStatetcontainstSTATE_EXPANDABLEtSTATE_EXPANDEDt
_overrideRoletgenerateSpeecht_restoreRoleRRt_generateRealTableCell(Rtobjtargst	rolesListtstatetoldRoletresult((sP/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/speech_generator.pyR,s
	cKs|iddƒdjotii|||Sg}y|iiƒ}Wntj
o
d	}nX|o¦|idjo–|i	i
|iƒox|td|iƒD]d}|i	i|ƒ}|i
|ƒ}|i||ƒ}|pq¦n|iƒ}	|	itiƒoþt}
y|iƒ}Wntj
o
d	}nX|oexbtd|iƒD]J}|i|ƒdtdƒgjo"|	itiƒp
t}
nPqXqXWn|
oq¦n|i	i|ƒ}|i	i|ƒ}
|
djotdƒ}
n|i|
ƒq¦q¦Wn|S(
sÆOrca has a feature to automatically read an entire row of a table
        as the user arrows up/down the roles.  This leads to complexity in
        the code.  This method is used to return an array of strings
        (and possibly voice and audio specifications) for an entire row
        in a table if that's what the user has requested and if the row
        has changed.  Otherwise, it will return an array for just the
        current cell.
        t
formatTypet	unfocusedtdetailedWhereAmIiittoggletStatustReadN(tgetRRt_generateTableCellRowtparentt
queryTabletNotImplementedErrortNonetnColumnsRtisLayoutOnlytrangetgetCellIndext
getRowAtIndextgetAccessibleAtRRRt
STATE_SHOWINGtFalsetqueryActiontnActionstgetNameRt
STATE_CHECKEDtTruetgetRealActiveDescendanttgetDisplayedTexttappend(RRRRtparentTabletitindextrowtcellRt
notCheckedtactiont
descendantttext((sP/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/speech_generator.pyR#AsN	"


cKs|ii|ƒptii|||Sg}|ii|ƒ}xÃ|D]»}|i||}y|iƒ}Wnn}X|idƒ}|dob|ii	|dƒ\}	}
|
i
ddƒdjo)|ii|ƒ}tdƒ|g}q÷n|i
|ƒqIW|S(s×Returns, as an array of strings (and possibly voice
        specifications), all the labels which are underneath the obj's
        hierarchy and which are not in a label for or labelled by
        relation.
        itweightt400t800s	%s screen(RtisWizardRRt_generateUnrelatedLabelstfindUnrelatedLabelst
_generateNamet	queryTextt
getAttributesttextAttrsToDictionaryR"R6Rtextend(RRRRtlabelstlabeltnameR@tattrtcharKeystcharDict((sP/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/speech_generator.pyRE…s(	(t__name__t
__module__t__doc__RRR#RE(((sP/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/speech_generator.pyR"s
			D(RTt__id__t__version__t__date__t
__copyright__t__license__Rtorca.speech_generatorRtorca.orca_i18nRR(((sP/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/speech_generator.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit