403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyo
z#Jc-@sudZdZdZdZdZdZddkZddkZddkZddk	Z	ddk
Z
ddkZddkZddk
Z
ddkZddkZddkZddkZddkZddkZddkZddkZddkZddkZddkZddkZddkZddkZddkZyddkZWnej
o
eZnXddk l!Z!dd	k l"Z"e#d
\Z$Z%Z&Z'Z(Z)Z*Z+Z,Z-Z.Z/Z0Z1Z2Z3e#d\Z4Z5Z6Z7e#d\Z8Z9e#d
\Z:Z;Z<dei=fdYZ>de>fdYZ?dei=fdYZ@dZAdZBeCdjoeBndS(s4Displays a GUI for the user to set Orca preferences.s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2009 Sun Microsystems Inc.tLGPLiN(t_(tC_iiiitOrcaSetupGUIcBseZedZedZedZedZedZdZ	dZ
dZedZ
d	Zd
ZdZdZd
ZdZdZdZdZdZdZdZdZdZdZdZedZdZ dZ!dZ"dZ#dZ$dZ%d Z&d!Z'd"Z(d#Z)d$Z*d%Z+d&Z,ed'Z-d(Z.d)Z/d*Z0d+d,Z1d-Z2d.Z3d/Z4ed0Z5d1Z6d2Z7d3Z8d4Z9eed5Z:eed6Z;d7Z<ed8Z=d9Z>d:Z?d;Z@d<ZAd=ZBd>ZCd?ZDd@ZEdAZFdBZGdCZHdDZIdEZJdFZKdGZLdHZMdIZNdJZOdKZPdLZQdMZRdNZSdOZTdPZUdQZVdRZWdSZXdTZYdUZZdVZ[dWZ\dXZ]dYZ^dZZ_d[Z`d\Zad]Zbd^Zcd_Zdd`ZedaZfdbZgdcZhddZideZjdfZkdgZldhZmdiZndjZodkZpdlZqdmZrdnZsdoZtdpZudqZvdrZwdsZxdtZyduZzdvZ{dwZ|dxZ}dyZ~dzZd{Zd|Zd}Zd~ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZRS(tCenteredtNonetProportionaltPushcCsjtii|||||_ti|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_!d|_"d|_#d|_$d|_%d|_&d|_'d|_(d|_)d|_*dS(sInitialize the Orca configuration GUI.

        Arguments:
        - fileName: name of the GtkBuilder file.
        - windowName: name of the component to get from the GtkBuilder
          file.
        N(+torca_gtkbuildertGtkBuilderWrappert__init__t	prefsDicttsettingstenableMagLiveUpdatingtenableLiveUpdatingRt	bbindingstcellRendererTexttdefaultVoicetdefKeyBindingstdisableKeyGrabPreftenableAutostarttgetTextAttributesViewthyperlinkVoicetinitializingSpeecht	kbindingstkeyBindingsModeltkeyBindViewt
newBindingtorcaModKeyEntrytpendingKeyBindingstplaneCellRendererTexttpronunciationModeltpronunciationViewtscreenHeighttscreenWidthtspeechFamiliesChoicetspeechFamiliesChoicestspeechFamiliesModeltspeechServersChoicetspeechServersChoicestspeechServersModeltspeechSystemsChoicetspeechSystemsChoicestspeechSystemsModeltuppercaseVoicetwindowtworkingFactoriest	savedGaint
savedPitcht	savedRate(tselftfileNamet
windowNameR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR
isL																																				cCsAytiti}Wntj
o
h}nXy|tii|_Wntj
od|_nXy|tii|_	Wntj
od|_	nXy|tii
|_Wntj
od|_nX|id|_
tititititititititititititititititi|_ti|_ti|_|iidtitid|idt}|it|it|i t|i
i!|tit"d|idt#}|it|i$d	|i t#|i
i!|tid
|idt%}|it|it|i t%|i
i!|tid|idt&}|it|it|i t&|i
i!|tid|idt'}|it|it|i t'|i
i!|tid
|idt(}|it|it|i t(|i
i!|tid|idt)}|it|it|i t)|i
i!|ti}|i*d|i+|i|i*d|i,|i*d|i-|it%t&t't(t.tit"d|dt.dt/}|it|i t)|i
i!|tid|idt0}|it|it|i t0|i
i!|tid|idt1}|it|it|i t1|i
i!|tid|dt2}|it|it|i t2|i
i!|tid|idt3}|it|it|i t3|i
i!|tid|idt4}|it|it|i t4|i
i!|ti}|i*d|i+|i|i*d|i,|i*d|i-|it0t1t2t3t5tit"d|dt5dt/}|it|i t4|i
i!|ti6}|i*d|i7|it8tit"d|dt8dt/}|it|i t8|i
i!|ti6}|idttid|dt/}|it|it|i t/|i
i!||i9|id|_:|i:i;dd |i<|i=|id!|_>|i=|id"|_?|i=|id#|_@|iA|iBd$S(%sInitialize the Orca configuration GUI. Read the users current
        set of preferences and set the GUI state to match. Setup speech
        support and populate the combo box lists on the Speech Tab pane
        accordingly.
        g$@g@gI@tkeyBindingsTreeviewt	ellipsizetHandlerttexttFunctioni|s
Mod.Mask 1s	Use Mod.1tKey1tClickCount1tOldText1sediting-startedsediting-canceledteditedsKey Bindingteditables
Mod.Mask 2s	Use Mod.2tKey2tClickCount2tOldText2t	AlternatettoggledtModifiedtactivetactivatabletorcaSetupWindowiiDt
speechSystemst
speechServerstspeechFamiliesN(CRtvoicest
DEFAULT_VOICEtKeyErrortacsstACSStGAINR/t
AVERAGE_PITCHR0tRATER1t
get_widgetRtgtkt	TreeStoretgobjecttTYPE_STRINGtTYPE_BOOLEANRtCellRendererTextRRtset_propertytpangot
ELLIPSIZE_ENDtTreeViewColumntHANDLERt
set_resizabletTruetset_visibletFalsetset_sort_column_idt
append_columnRtDESCRIPt
set_min_widtht	MOD_MASK1t	MOD_USED1tKEY1tCLICK_COUNT1tOLDTEXT1tconnectt
editingKeyteditingCanceledKeyt	editedKeytTEXT1tEDITABLEt	MOD_MASK2t	MOD_USED2tKEY2tCLICK_COUNT2tOLDTEXT2tTEXT2tCellRendererToggletkeyModifiedToggletMODIFt_populateKeyBindingsR-tresizet_setKeyEchoItemst
_initComboBoxR+R(R%t_initSpeechStatet
_initGUIState(R2RtcolumntrendererTexttrendererToggle((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytinitsn
			



		


			


			


			


			


			


	
	
		

			


			





			


			


	
	
			

		

		





cCs[|tjo
|i}n>|tjo
|i}n$|tjo
|i}n
|i}|S(sReturn the ACSS value for the the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK

        Returns the voice dictionary for the given voice type.
        (tDEFAULTRt	UPPERCASER,t	HYPERLINKR(R2t	voiceTypet	voiceACSS((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_getACSSForVoiceTypes	





	cCsMti|i|i|io*|itd|itdndS(s7Write out the user's generic Orca preferences.
        s6Accessibility support for GNOME has just been enabled.sBYou need to log out and log back in for the change to take effect.N(t
orca_prefstwritePreferencesRRRt_sayR(R2((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytwriteUserPreferencess

cCs|tjo
|i}n|tjo3|i}||jo|pdS|i}qnJ|tjo3|i}||jo|pdS|i}qn
|i}||jo	||SdSdS(sLook for the value of the given key in the voice dictionary
           for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK
        - key: the key to look for in the voice dictionary.
        - useDefault: if True, and the key isn't found for the given voice
                      type, the look for it in the default voice dictionary
                      as well.

        Returns the value of the given key, or None if it's not set.
        N(RRRR,RRR(R2Rtkeyt
useDefaulttvoice((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_getKeyValueForVoiceTypes$


	

	
	
	cCsPd}|i|tii}|o'tii|jo|tii}n|S(sGets the name of the voice family for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK

        Returns the name of the voice family for the given voice type,
        or None if not set.
        N(RRRNROtFAMILYtspeechservertVoiceFamilytNAME(R2Rt
familyNametfamily((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_getFamilyNameForVoiceTypes

cCs|i|tiit}|o$||tii<||tii<nT|i	|}h|tii<||tiitii<||tiitii<dS(sSets the name of the voice family for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK
        - name: the name of the voice family to set.
        - language: the locale of the voice family to set.
        N(
RRNRORRbRRRtLOCALER(R2RtnametlanguageRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setFamilyNameForVoiceTypes				cCs|i|tiiS(sGets the speaking rate value for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK

        Returns the rate value for the given voice type, or None if
        not set.
        (RRNRORR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_getRateForVoiceType+s
cCs#|i|}||tii<dS(sSets the speaking rate value for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK
        - value: the rate value to set.
        N(RRNRORR(R2RtvalueR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setRateForVoiceType7scCs|i|tiiS(sGets the pitch value for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK

        Returns the pitch value for the given voice type, or None if
        not set.
        (RRNRORQ(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_getPitchForVoiceTypeCs
	cCs#|i|}||tii<dS(sSets the pitch value for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK
        - value: the pitch value to set.
        N(RRNRORQ(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setPitchForVoiceTypePscCs|i|tiiS(sGets the volume (gain) value for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK

        Returns the volume (gain) value for the given voice type, or
        None if not set.
        (RRNRORP(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_getVolumeForVoiceType\s
cCs#|i|}||tii<dS(sSets the volume (gain) value for the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK
        - value: the volume (gain) value to set.
        N(RRNRORP(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setVolumeForVoiceTypehscCs|i|}|i||i|}|djo|idi|n|idid|i|}|djo|idi|n|idid|i|}|djo|idi|n|ididdS(sSets the family, rate, pitch and volume GUI components based
        on the given voice type.

        Arguments:
        - voiceType: one of DEFAULT, UPPERCASE, HYPERLINK
        t	rateScalegI@t
pitchScaleg@tvolumeScaleg$@N(Rt_setSpeechFamiliesChoiceRRRSt	set_valueRR(R2RRtratetpitchtvolume((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setVoiceSettingsForVoiceTypets



cCst|idjodSt}d}xi|iD]^}|tii}||jo1|idi||i||_t	}Pn|d7}q1W|pAt
it
id||idid|id|_ndS(sSets the active item in the families ("Person:") combo box
        to the given family name.

        Arguments:
        - families: the list of available voice families.
        - familyName: the family name to use to set the active combo box item.
        iNRJis)Could not find speech family match for %s(
tlenR$RbRRRRSt
set_activeR#R`tdebugtprintlntLEVEL_FINEST(R2RtvalueSettiRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs&	

cCsc|ii|ii}g|_t|djo1titidti	ti
d|_dSd}x`|D]X}|t
iid|t
ii}|ii||ii||f|d7}qvW|id}g}|itdd|itdd	|itdd
|i|||it|i}|i|dS(sGets the list of voice families for the current speech server.
        If there are families, get the information associated with
        each voice family and add an entry for it to the families
        GtkComboBox list.
        isSpeech not available.Ns (%s)it
voiceTypest	VoiceTypetDefaultt	Uppercaset	Hyperlink(R%tclearR&tgetVoiceFamiliesR$RRRtLEVEL_SEVEREt
printStackRRR#RRRRtappendRSRtpopulateComboBoxRRt
get_activeR(R2tfamiliesRRRtcomboBoxttypesR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setupFamiliess2
		

cCst|idjodS|pti}nt}d}xX|iD]M}||ijo*|idi|||_t}Pn|d7}qHW|pGt	i
t	idt||idid|id|_n|i
dS(sSets the active item in the speech servers combo box to the
        given server.

        Arguments:
        - serversChoices: the list of available speech servers.
        - serverInfo: the speech server to use to set the active combo
        box item.
        iNRIis)Could not find speech server match for %s(RR'tspeechtgetInfoRbRSRR&R`RRRtreprR(R2t
serverInfoRRtserver((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setSpeechServersChoices*

	cCs|ii|iii|_t|idjoCtiti	dti
tid|_
g|_d|_dSd}xA|iD]6}|id}|ii||f|d7}qW|i|idtitid|i
idS(sGets the list of speech servers for the current speech factory.
        If there are servers, get the information associated with each
        speech server and add an entry for it to the speechServers
        GtkComboBox list.  Set the current choice to be the first item.
        isSpeech not available.NitspeechServerInfos;orca_gui_prefs._setupSpeechServers: speechServersChoice: %s(R(RR)tSpeechServertgetSpeechServersR'RRRRRRRR&R$R#RRRR(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setupSpeechServerss(
			
cCst|idjod|_dSt}d}xe|iD]Z}|i}|i|o1|idi||i||_t	}Pn|d7}q:W|pAt
it
id||idid|id|_n|i
dS(sSet the active item in the speech systems combo box to the
        given system name.

        Arguments:
        - factoryChoices: the list of available speech factories (systems).
        - systemName: the speech system name to use to set the active combo
        box item.
        iNRHis)Could not find speech system match for %s(RR*RR)Rbt__name__tendswithRSRR`RRRR(R2t
systemNameRRtspeechSystemR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setSpeechSystemsChoice%s*
	
	cCs|iig|_x\|D]T}y4|ii}t|o|ii|nWqtiti	qXqWg|_
t|idjoUtitidti
ti	d|_g|_d|_g|_d|_dSd}xP|iD]E}|i
i||ii}|ii||f|d7}qW|ido|i|idn
d|_titi	d|idS(sSets up the speech systems combo box and sets the selection
        to the preferred speech system.

        Arguments:
        -factories: the list of known speech factories (working or not)
        isSpeech not available.NitspeechServerFactorys;orca_gui_prefs._setupSpeechSystems: speechSystemsChoice: %s(R+RR.RRRRRtprintExceptionRR*RRRRR)R'R&R$R#tgetFactoryNameRR(R2t	factoriestfactorytserversRtworkingFactoryR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setupSpeechSystemsGsD
	
						
	cCs|id}ti|ti|_ti|ti|_ti|ti|_	t
i}t|djo;g|_
d|_g|_d|_g|_d|_dSt
it|_|i|t|_dS(s2Initialize the various speech components.
        RKiN(RRNRORRLRtUPPERCASE_VOICER,tHYPERLINK_VOICERRtgetSpeechServerFactoriesRR.RR)R'R&R$R#RR`RRRb(R2RKR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRts"
						
	
c
CsQ|i}|idtid}|i|\}}|iti\}	}
xtdt	|D]}xtdt	|	D]}t
i||}
t
i|||}|
||tjol|i
|}|i|t|
t|t||o2|i
|}|i
|}|i||nPqqWqkW|i|dS(sGiven a set of spoken text attributes, update the model used by the
        text attribute tree view.

        Arguments:
        - view: the text attribute tree view.
        - setAttributes: the list of spoken text attributes to update.
        - state: the state (True or False) that they all should be set to.
        - moveToTop: if True, move these attributes to the top of the list.
        iN(t	get_modelt	set_modelRtdefaulttScriptttextAttrsToDictionaryRtallTextAttributestrangeRttext_attribute_namestgetTextAttributeNameRtget_itertsett	IS_SPOKENtVALUEtmove_before(R2tviewt
setAttributeststatet	moveToToptmodelt	defScripttattrListtattrDicttallAttrListtallAttrDictRtpathtlocalizedKeytlocalizedValuetthisItert	otherIter((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setSpokenTextAttributess0
	

cCs|i}|idtid}|i|\}}|iti\}}	xtdt	|D]u}
xltdt	|D]U}t
i||
}|||tjo'|i
|}
|i|
t|PqqWqkW|i|dS(sFGiven a set of brailled text attributes, update the model used
        by the text attribute tree view.

        Arguments:
        - view: the text attribute tree view.
        - setAttributes: the list of brailled text attributes to update.
        - state: the state (True or False) that they all should be set to.
        iN(RRRRRRRRRRRRRRRtIS_BRAILLED(R2RRRRRRRRRRRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setBrailledTextAttributess


cCs|S(sConverts the given Atk attribute name into the application's
        equivalent. This is necessary because an application or toolkit
        (e.g. Gecko) might invent entirely new names for the same text
        attributes.

        Arguments:
        - attribName: The name of the text attribute

        Returns the application's equivalent name if found or attribName
        otherwise.
        ((R2t
attributeName((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_getAppNameForAttributes
c
Cs|ii}d}d}|id}xtd|D]}||t}ti|}|i|}||t	}ti|}	||t
o||d|	d7}n||to||d|	d7}q:q:W||id<||id<dS(sThe user has updated the text attribute list in some way. Update
        the "enabledSpokenTextAttributes" and "enabledBrailledTextAttributes"
        preference strings to reflect the current state of the corresponding
        text attribute lists.
        tit:s; tenabledSpokenTextAttributestenabledBrailledTextAttributesN(
RRtiter_n_childrenRRRRtgetTextAttributeKeyRRRRR(
R2Rt
spokenAttrStrtbrailledAttrStrtnoRowsRRRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_updateTextDictEntrys"
cCs9|id}|i|i|i|id<dS(NtcontractionTablesHBoxtenableContractedBraille(RSt
set_sensitiveRR(R2tcheckboxthbox((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytcontractedBrailleToggledscCs1|i}|i}||d|id<dS(NitbrailleContractionTable(Rtget_active_iterR(R2tcomboboxRtmyIter((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytcontractionTableComboChangedscCs9|i|}|i|t||t|idS(sgThe user has toggled the state of one of the text attribute
        checkboxes to be spoken. Update our model to reflect this, then
        update the "enabledSpokenTextAttributes" preference string.

        Arguments:
        - cell: the cell that changed.
        - path: the path of that cell.
        - model: the model that the cell is part of.
        N(RRRR
(R2tcellRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextAttributeSpokenToggledscCs9|i|}|i|t||t|idS(skThe user has toggled the state of one of the text attribute
        checkboxes to be brailled. Update our model to reflect this,
        then update the "enabledBrailledTextAttributes" preference string.

        Arguments:
        - cell: the cell that changed.
        - path: the path of that cell.
        - model: the model that the cell is part of.
        N(RRRR
(R2RRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextAttributeBrailledToggled'scCs0|i|}|i|t||idS(sThe user has edited the value of one of the text attributes.
        Update our model to reflect this, then update the
        "enabledSpokenTextAttributes" and "enabledBrailledTextAttributes"
        preference strings.

        Arguments:
        - cell: the cell that changed.
        - path: the path of that cell.
        - new_text: the new text attribute value string.
        - model: the model that the cell is part of.
        N(RRRR
(R2RRtnew_textRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextAttrValueEdited6s
cCs|ii\}}|ogt|ii}xOtd|D]:}|ii|}||jo|ii|PqAqAWndS(sSet the search column in the text attribute tree view
        depending upon which column the user currently has the cursor in.
        iN(Rt
get_cursorRtget_columnsRt
get_columntset_search_column(R2twidgetRtfocusColumnt	noColumnsRtcol((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextAttrCursorChangedGs
c
Cs|id|_tititititi}tid}|i
ti\}}xxt
dt|D]a}|i}ti||}ti|||}|i|t|ttttt|	qsW|ii|titd}	|	id|	itti}
|	i|
t|	i |
dt|ii!|	dtd}ti|}	ti"}
|	i#|
t|	i |
dt|
i$d|i%||ii!|	d	|	i&td
}ti|}	ti"}
|	i#|
t|	i |
dt|
i$d|i'||ii!|	d|	i&titd}	ti}
|
i(d
t|	i|
t|	i |
dt|
i$d|i)||ii!|	d|i*|iti+tt|i,|iti-t|ii$d|i.dS(sCreate the text attributes tree view. The view is the
        textAttributesTreeView GtkTreeView widget. The view will consist
        of a list containing three columns:
          IS_SPOKEN - a checkbox whose state indicates whether this text
                      attribute will be spoken or not.
          NAME      - the text attribute name.
          VALUE     - if set, (and this attributes is enabled for speaking),
                      then this attribute will be spoken unless it equals
                      this value.
        ttextAttributesTreeViewisAttribute NameiR8tSpeakRERCisMark in brailleisPresent UnlessR>R=itcursor_changedN(/RSRRTt	ListStoreRVRWRXRRRRRRRRRRRRRRRbRRRR]RRfR_R`RYtpack_endtset_attributest
insert_columnRxt
pack_startRlRtclickedRRZRRRRRR#(
R2RRRRRRRRRtrenderertspeakAttrColumnLabeltmarkAttrColumnLabel((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_createTextAttributesTreeViewUsv	

		
		

cCs&|i|}|i|t|dS(siThe user has edited the value of one of the actual strings in
        the pronunciation dictionary. Update our model to reflect this.

        Arguments:
        - cell: the cell that changed.
        - path: the path of that cell.
        - new_text: the new pronunciation dictionary actual string.
        - model: the model that the cell is part of.
        N(RRtACTUAL(R2RRRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytpronActualValueEditedscCs&|i|}|i|t|dS(ssThe user has edited the value of one of the replacement strings
        in the pronunciation dictionary. Update our model to reflect this.

        Arguments:
        - cell: the cell that changed.
        - path: the path of that cell.
        - new_text: the new pronunciation dictionary replacement string.
        - model: the model that the cell is part of.
        N(RRtREPLACEMENT(R2RRRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytpronReplacementValueEditedscCs|ii\}}|ogt|ii}xOtd|D]:}|ii|}||jo|ii|PqAqAWndS(sSet the search column in the pronunciation dictionary tree view
        depending upon which column the user currently has the cursor in.
        iN(R RRRRRR(R2RRR R!RR"((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytpronunciationCursorChangeds
c

Cs|id|_tititi}|djo
|}n
ti}xmt|i	D]Y}|i
}y||\}}Wn|}||}nX|i|t|t
|q]W|ii|titd}|id|itti}	|	idt|i|	t|i|	dt|	id|i||ii|dtitd}ti}	|	idt|i|	t|i|	dt
|	id|i||ii|d	||_|iid
|idS(sCreate the pronunciation dictionary tree view. The view is the
        pronunciationTreeView GtkTreeView widget. The view will consist
        of a list containing two columns:
          ACTUAL      - the actual text string (word).
          REPLACEMENT - the string that is used to pronounce that word.

        Arguments:
        - pronunciations: an optional dictionary used to get the 
          pronunciation from.
        tpronunciationTreeViews
Actual StringiR>R8R=isReplacement StringiR&N(RSR RTR'RVRWRtpronunciation_dicttsortedtkeysRRR1R3RR]RRfR_R`RYRZR(R)RlR2R*R4RR5(
R2tpronunciationsRtpronDicttpronKeyRtactualtreplacementRR-((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_createPronunciationTreeViewsJ

			

		c
Cstii}|i}|i}tiidi}|oZ|i	d}y=t
|d}|td|jo|i|}nWqqXn|i
}|i}|i}	|	d}
tit|
|d|d|dd}tiotiid}ntiid}|i||
|jo|in|	d	}
tit|
|d|d|dd}tiotiid
}ntiid
}|i||
|jo|in|	d}tit||d|d|dd}tiotiid}ntiid}|i|||jo|in|	d
}tit||d|d|dd}tiotiid}ntiid}|i|||jo|indS(smPopulate/update the values and ranges of the four zoomer
        spin buttons on the Magnifier pane.
        tmagTargetDisplayEntryt.iitmagZoomerTopiitmagZoomerTopSpinButtont
magZoomerLefttmagZoomerLeftSpinButtontmagZoomerRighttmagZoomerRightSpinButtontmagZoomerBottomtmagZoomerBottomSpinButtonN(RTtgdktdisplay_get_defaultt
get_n_screenstget_default_screent
orca_statetadvancedMagRStget_active_texttsplittintRt
get_screent	get_widtht
get_heightRt
AdjustmenttmintappOStorcaOStset_adjustmenttupdate(R2tdisplaytnScreensttargetScreent
targetDisplayttttargetNumberttargetWidthttargetHeighttprefsttopPositiont
adjustmentt
spinButtontleftPositiont
rightPositiontbottomPosition((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_setZoomerSpinButtonsOs		















c8Cs|i}|d}|idi||idi||dtijo|iditns|dtijo|iditnE|dtijo|iditn|idit|d	ti	jo|id
itn|idit|do|id
itn|idit|idi|d|idi|d|idi|d|idi|d|idi|dt
d}|idi|d|idi|d|id}|i|t
dt
d g|i|d|d!}|id"i||id#i||d$}|id%i|t
d&}|id'}g}|i
td(d)|i
td(d*|i
td(d+|i|||i|d'|d,}|id-i||id.i|d/|id0i|d1|d2tij}|id3i||id4i|d4tdjo|id5itnJ|id5i|d6|id7}	ti}
d}|d8p
ti}|
otitt}
|
i}|ixV|D]N}|
|}|
i
||g}tiiti||jo
|}qqW|i}|	i |t|	i!|d9d:|	i"|
|o|	i#|qC|	id:n|	it|d;ti	jo|id<itn|id=it|d>}|ti$jo|id?itnk|ti%jo|id@itnA|ti&jo|idAitn|idBit|dC}|ti'jo|idDitnk|ti(jo|idEitnA|ti)jo|idFitn|idGit|idHi|dI|idJi|dK|idLi|dM|idNi|dO|idPi|dQ|idRi|dS|idTi|dU|idVi|dW|idXi|dY|idZi|d[|id\i|d]t
d^}t
d_}|i*}t|_*|d`}|idai||idbi||dc}|iddi||idei||df}|idgi||dh}|idii||idji||idki||dl}|idji||dm}ti+i,|}|idni-||do}|idpi||idqi||dr}|idsi||dt}|idui||dv}ti+i,|}|idwi-||dx}|idyi||idzi||d{}|id|i||d}}ti+i,|}|id~i-||d}|idi||d}|idi|ti+i.} | i/}!| i0}"t1i2idi3}#|#oZ|#i4d}$y=t5|$d}%|%t6d:|!jo| i7|%}"nWqEqEXn|"i8|_9|"i:|_;|d}&|&ti<jot
d}'n|&ti=jot
d}'n|&ti>jot
d}'nm|&ti?jot
d}'nM|&ti@jot
d}'n-|&tiAjot
d}'n
t
d}'|id}(t
dt
dt
dt
dt
dt
dg})|i|(|)|iB|(|'}*|(i|*|idi|&tiAj|iC|d}+|idi|+|d}|idi||d},|,tiDjo
|iE}-na|,tiFjo
|iG}-nD|,tiHjo
|iI}-n'|,tiJjo
|iK}-n
|iE}-|id}.t
dt
dt
dt
dg}/|i|.|/|iB|.|-}*|.i|*|d}0|0tiDjo
|iE}-nD|0tiFjo
|iG}-n'|0tiJjo
|iK}-n
|iK}-|id}1t
dt
dt
dg}/|i|1|/|iB|1|-}*|1i|*|d}2|2tiDjo
|iE}-nD|2tiFjo
|iG}-n'|2tiJjo
|iK}-n
|iK}-|id}3|i|3|/|iB|3|-}*|3i|*|idi|2tiJj|d}4|id}5tiL|4d:dddd:}6|idiM|6|d}|idi||d}|idi||iN|d}7|7tiOjo|iditnk|7tiPjo|iditnA|7tiQjo|iditn|idit|iR|idi|d|idi|d|idi|dotiStiT|_U|idi|iU|dtiVjo|iditn|idit||_*tiW|_X|idi|iXdS(s}Adjust the settings of the various components on the
        configuration GUI depending upon the users preferences.
        tenableSpeechtspeechSupportCheckbuttont
speechVboxtverbalizePunctuationStylet
noneButtont
someButtont
mostButtont	allButtontspeechVerbosityLeveltspeechBriefButtontspeechVerboseButtontreadTableCellRowtrowSpeechButtontcellSpeechButtontspeechIndentationCheckbuttontenableSpeechIndentationtspeakBlankLinesCheckButtontspeakBlankLinest speakMultiCaseAsWordsCheckButtontspeakMultiCaseStringsAsWordst speakTutorialMessagesCheckButtontenableTutorialMessagestpauseBreaksCheckButtontenablePauseBreakss(Break speech into ch_unks between pausestspeakPositionCheckButtontenablePositionSpeakingtspeakMnemonicsCheckButtontenableMnemonicSpeakingtsayAllStyletLinetSentencetenableProgressBarUpdatestspeechProgressBarCheckbuttontspeakUpdateIntervalHBoxtprogressBarUpdateIntervaltspeakProgressBarSpinButtons!Restrict progress bar updates to:tprogressBarVerbositytProgressBartAlltApplicationtWindowtenableMouseReviewtspeakUnderMouseCheckButtontbrailleSupportCheckbuttont
enableBrailletbrailleMonitorCheckbuttontenableBrailleMonitortbrailleRolenameStyletabbrevRolenamestdisableBrailleEOLtcontractedBrailleCheckbuttonRtcontractionTableComboRR8itbrailleVerbosityLeveltbrailleBriefButtontbrailleVerboseButtontbrailleSelectorIndicatortbrailleSelection7ButtontbrailleSelection8ButtontbrailleSelectionBothButtontbrailleSelectionNoneButtontbrailleLinkIndicatortbrailleLink7ButtontbrailleLink8ButtontbrailleLinkBothButtontbrailleLinkNoneButtontkeyEchoCheckbuttont
enableKeyEchotprintableCheckbuttontenablePrintableKeystmodifierCheckbuttontenableModifierKeystlockingCheckbuttontenableLockingKeystfunctionCheckbuttontenableFunctionKeystactionCheckbuttontenableActionKeystnavigationCheckbuttontenableNavigationKeystdiacriticalCheckbuttontenableDiacriticalKeystechoByCharacterCheckbuttontenableEchoByCharactertechoByWordCheckbuttontenableEchoByWordtechoBySentenceCheckbuttontenableEchoBySentences$Enable non-spacing _diacritical keyssEnable echo by cha_ractertenableMagnifiertmagnifierSupportCheckbuttontmagnifierTabletenableMagCursortmagCursorOnOffCheckButtontmagCursorTablet
magHideCursortmagHideCursorCheckButtontenableMagCursorExplicitSizetmagCursorSizeCheckButtontmagCursorSizeSpinButtontmagCursorSizeLabelt
magCursorSizetmagCursorColortmagCursorColorButtontenableMagCrossHairtmagCrossHairOnOffCheckButtontmagCrossHairTabletenableMagCrossHairCliptmagCrossHairClipCheckButtontmagCrossHairSizetmagCrossHairSizeSpinButtontmagCrossHairColortmagCrossHairColorButtontenableMagZoomerBordertmagBorderCheckButtontmagBorderTabletmagZoomerBorderSizetmagBorderSizeSpinButtontmagZoomerBorderColortmagBorderColorButtontmagBrightnessLeveltmagColorBrightnessSpinButtontmagContrastLeveltmagColorContrastSpinButtontmagSourceDisplayEntryRAit
magZoomerTypesFull ScreensTop HalfsBottom Halfs	Left Halfs
Right HalftCustomtmagZoomerPositionComboBoxtmagZoomerCustomPositionTablet
magZoomFactortmagZoomFactorSpinButtontenableMagZoomerColorInversiontmagInvertColorsCheckBoxtmagMouseTrackingModetmagMouseTrackingComboBoxRRRRtmagControlTrackingModetmagControlTrackingComboBoxtmagTextTrackingModetmagTextCursorTrackingComboBoxtmagEdgeMarginHBoxt
magEdgeMargintmagEdgeMarginSpinButtoni2iitmagPointerFollowsFocustmagPointerFocusCheckButtontmagPointerFollowsZoomertmagPointerZoomerCheckButtonttextAttributesBrailleIndicatorttextBraille7ButtonttextBraille8ButtonttextBrailleBothButtonttextBrailleNoneButtontshowMainWindowCheckButtontshowMainWindowtconfirmQuitCheckButtontquitOrcaNoConfirmationtpresentToolTipsCheckButtontpresentToolTipstdisableKeyGrabCheckButtontkeyboardLayouttgeneralDesktopButtontgeneralLaptopButtontautostartOrcaCheckbuttonN(YRRSRR
RtPUNCTUATION_STYLE_NONER`tPUNCTUATION_STYLE_SOMEtPUNCTUATION_STYLE_MOSTtVERBOSITY_LEVEL_BRIEFRRRRRtBRAILLE_ROLENAME_STYLE_SHORTtlouisRRbtbraillet
listTablestgetDefaultTableRTR'tstrR9tsorttosRtjoint	tablesdirRR+t
add_attributeRtset_active_itert
BRAILLE_SEL_7t
BRAILLE_SEL_8tBRAILLE_SEL_BOTHtBRAILLE_LINK_7tBRAILLE_LINK_8tBRAILLE_LINK_BOTHRRJtcolor_parset	set_colorRKRLRMRNRORPRQRRRRSRTR"RUR!tMAG_ZOOMER_TYPE_FULL_SCREENtMAG_ZOOMER_TYPE_TOP_HALFtMAG_ZOOMER_TYPE_BOTTOM_HALFtMAG_ZOOMER_TYPE_LEFT_HALFtMAG_ZOOMER_TYPE_RIGHT_HALFtMAG_ZOOMER_TYPE_CUSTOMtgetComboBoxIndexRktMAG_TRACKING_MODE_CENTEREDtmagTrackingCenteredStrtMAG_TRACKING_MODE_NONEtmagTrackingNoneStrtMAG_TRACKING_MODE_PROPORTIONALtmagTrackingProportionalStrtMAG_TRACKING_MODE_PUSHtmagTrackingPushStrRVRZR0tTEXT_ATTR_BRAILLE_7tTEXT_ATTR_BRAILLE_8tTEXT_ATTR_BRAILLE_BOTHR?tcanPresentToolTipstisGKSUGrabDisabledRtGENERAL_KEYBOARD_LAYOUT_DESKTOPtisOrcaAutostartedR(8R2RdtenabletlabelRtintervalRtlevelsRttablesCombot	tableDicttselectedTableItert
selectedTablettablesModeltnamesRtfnametitRtselectionIndicatort
linkIndicatortliveUpdatingRtexplicitSizeCheckedt
cursorSizetcursorColortcolort
crosshairSizetcrosshairColort
borderSizetborderColortlevelR\R]tsourceScreent
sourceDisplaytstsourceNumbert
zoomerPreft
zoomerTypeRRtindext
zoomFactortmouseTrackingModetmodeRt
trackingTypestcontrolTrackingModeRttextCursorTrackingModeRt
edgeMarginRRftbrailleIndicator((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRsZ	




"






	



			














	
					








	*




	!




	








	cCsAtit}x|D]}|i|gqW|i|dS(sPopulates the combobox with the items provided.

        Arguments:
        - combobox: the GtkComboBox to populate
        - items: the list of strings with which to populate it
        N(RTR'RRR(R2RtitemsRtitem((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs
icCso|i}|i}xPtdt|D]9}|i||}||jo|S|i|}q.WdS(se For each of the entries in the given combo box, look for searchStr.
            Return the index of the entry if searchStr is found.

        Arguments:
        - combobox: the GtkComboBox to search.
        - searchStr: the string to search for.

        Returns the index of the first entry in combobox with searchStr, or
        0 if not found.
        i(Rtget_iter_firstRRt	get_valuet	iter_next(R2Rt	searchStrR"RtmyiterRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR*s
cCs|id}ti}|i||id}tid\}}|id|||d|iytio|i	nWnnXy:t
i}|djoti}n|i
i|Wn#tj
otitinX|i|ititt|idS(slShow the Orca configuration GUI window. This assumes that
        the GUI has already been created.
        RGt
helpButtontF1R,iN(RSRTt
AccelGrouptadd_accel_grouptaccelerator_parsetadd_acceleratortrealizeRRtpresentRNtlastInputEventTimestamptget_current_event_timeR-t
set_user_timetAttributeErrorRRRRRRR`tshow(R2RGt
accelGroupRhtkeyValtmodifierMasktts((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytshowGUI
s4
		

	
cCsti}|i|ty'|id}|i|ddWn|i|ddnXtitt}|i	|t
|tio(|i}|i
|dddn|S(sInitialize the given combo box to take a list of int/str pairs.

        Arguments:
        - combobox: the GtkComboBox to initialize.
        iR8iii(RTRYR+R`t	get_cellsRR'RRRRt
isinstancet
ComboBoxEntrytsize_requesttset_fixed_size(R2RRtcolumnToDisplayRtsize((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR~;s
cCs|idi}|idi||idi||idi||idi||idi||idi||idi|d	S(
s[In]sensitize the checkboxes for the various types of key echo,
        depending upon whether the value of the key echo check button is set.
        RRRRRRRRN(RSRR
(R2R:((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR}VscCs&|otinti|dS(sIf the text field is not None, speaks the given text, optionally
        interrupting anything currently being spoken.

        Arguments:
        - text: the text to print and speak
        - stop: if True, interrupt any speech currently being spoken
        N(Rtstoptspeak(R2R8R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRds	cCs5|i}|id}|i|t|tt|S(sCreate a new root node in the TreeStore model with the name of the
            application.

        Arguments:
        - appName: the name of the TreeStore Node (the same of the application)
        N(RRRRReRzRb(R2tappNameRRg((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_createNoders		
cCsP|i}x@|D]8}|i|idjo|t|jo|iSqWdS(s)Returns the gtk.TreeIter of the TreeStore model
        that matches the application name passed as argument

        Arguments:
        - appName: a string with the name of the application of the node wanted
                    it's the same that the field DESCRIP of the model treeStore
        iN(Rt
iter_depthtiterReR(R2RRtrow((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt
_getIterOfs		cCsLd}|djodtd}n"|djodtd}n|S(sGiven a numeric clickCount, returns a string for inclusion
        in the list of keybindings.

        Argument:
        - clickCount: the number of clicks associated with the keybinding.
        Rit s(double click)is(triple click)(R(R2t
clickCounttclickCountString((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_clickCountToStrings

cCs#|i}|i}t}x|djo|i|}x|djo|i|td|iijot	}|i
p
d}n0|i|i}t
i|i|i
|}|i|t|it|it|i
t|it|t|
n|i|}q=W|i|}qW|S(sAdds an alternate keybinding to the existing handler and
        returns true.  In case it doesn't exist yet, just returns
        false.

        Argument:
        - kb: the keybinding to be added as an alternate keybinding.
        iN(RRcRbRt
iter_childrentgetRethandlertdescriptionR`tkeysymstringRtclick_counttkeybindingstgetModifierNamest	modifiersRRrt
modifier_maskRsRtRuRvRwRe(R2tkbRRgtexistt	iterChildR8R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_addAlternateKeyBindings0		

#

					c	Cs|i}|djo|itd}n|djo|i|}|ip
d}n0|i|i}ti	|i
|i|}|i|t|t
|iit|it|i
t|it|it|t|t|tt|SdSdS(sAppends a new row with the new keybinding data to the treeview

        Arguments:
        - handl:  the name of the handler associated to the keyBinding
        - kb:     the new keybinding.
        - parent: the parent node of the treeview, where to append the kb
        - modif:  whether to check the modified field or not.

        Returns a gtk.TreeIter pointing at the new row.
        tOrcaN(RRRRRRRRRRRRR^ReRRRgRRhRiRjRkRpRzRqR`(	R2thandlRtparenttmodifRRgR8R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt
_insertRows,	



					
cCs|i}|djo|itd}n|djoO|i|}|i|t|t|it	|t
ti|t
|tt
|SdSdS(sAppends a new row with the new braille binding data to the treeview

        Arguments:
        - handl:       the name of the handler associated to the brailleBinding
        - com:         the BrlTTY command
        - inputEvHand: the inputEventHandler with the new brailleBinding
        - parent:      the parent node of the treeview, where to append the kb
        - modif:       whether to check the modified field or not.

        Returns a gtk.TreeIter pointing at the new row.
        sBraille BindingsN(RRRRRRR^ReRRiRpRtcommand_nameRzRqRb(R2RtcomtinputEvHandRRRRg((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_insertRowBrailles	

		

cCs1ytid}|iti}ti||}tidddd}|i	}|i
}x|djo|i|}xu|djog|i|t
}tid||_|i|ddo|i|ttn|i|}qW|i|}qjWWntitinXdS(s8 Mark as modified the user custom key bindings:
        ttypeOfSearchRN(RRRtsetupInputEventHandlersRtKeyBindingsRtoverrideKeyBindingst
KeyBindingRRcRRdRetinput_eventtInputEventHandlerRt
hasKeyBindingRRzR`ReRRR(R2RtkeyBindstkeyBindt	treeModelRgRtdescrip((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt
_markModified 	s,
	


c
	Cs|iid
|iit|ii|ii|o|iid
|_	n|i
dp|itd}|i
dp|itd}t
id
}|i	pti|_	|i|_x|iiD]}|i	i|dp^|i|pJ|i|i}|io|i|||q_|i|||qcn|i	i|qWn|ii|p|ii|n|id|_|iit t!i"dd!i#dd|i$|itd	}|i%|_&xB|i&i'D]1\}}	|i|	}|i(|||	|qW|ii|i|iit)|ii*|ii+t,t-i.|ii/h|_0d
S(sFills the TreeView with the list of Orca keybindings

        Arguments:
        - clearModel: if True, initially clear out the key bindings model.
        RtUnboundtstrictRiit'RsBraille BindingsN(1RRRtset_headers_visibleRbthide_allthideRRRRRRRRRRtgetKeyBindingsRtkeyBindingsRRtgetInputEventHandlerKeyRRRtaddtiter_has_childtremoveRSRtset_textRRtorcaModifierKeystreplaceRtgetBrailleBindingsRt	iteritemsRR`t
expand_allRcRkRTtSORT_ASCENDINGRtR(
R2t
clearModeltiterOrcatiterUnboundRRRtiterBBRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR{;	sR



%


	#


cCswxp|iD]e}||ijp|iiq
|ii}x,|D]$}||ijp|iqGqGWq
WdS(sRemove unwanted factories and gnome-speech drivers for the current
        active factory, when the user dismisses the Orca Preferences dialog.
        N(R.R)RtshutdownActiveServersRR&tshutdown(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt_cleanupSpeechServers	s
cCs3|i}||id<|idi|dS(sSignal handler for the "toggled" signal for the
           speechSupportCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable Speech' checkbox. Set the 'enableSpeech'
           preference to the new value. Set the rest of the speech pane items
           [in]sensensitive depending upon whether this checkbox is checked.

        Arguments:
        - widget: the component that generated the signal.
        RlRnN(RRRSR
(R2RR:((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeechSupportChecked	s
cCs9|iodS|i}|i||_|idS(sSignal handler for the "changed" signal for the speechSystems
           GtkComboBox widget. The user has selected a different speech
           system. Clear the existing list of speech servers, and setup
           a new list of speech servers based on the new choice. Setup a
           new list of voices for the first speech server in the list.

        Arguments:
        - widget: the component that generated the signal.
        N(RRR*R)R(R2Rt
selectedIndex((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeechSystemsChanged	s

cCsw|iodS|i}|i||_y4|itii=|itii=|i	tii=WnnX|i
dS(sVSignal handler for the "changed" signal for the speechServers
           GtkComboBox widget. The user has selected a different speech
           server. Clear the existing list of voices, and setup a new
           list of voices based on the new choice.

        Arguments:
        - widget: the component that generated the signal.
        N(RRR'R&RRNRORR,RR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeechServersChanged	s

cCs|iodS|i}yY|i|}|tii}|tii}|idi}|i|||Wnt	i
t	inXdS(s(Signal handler for the "value_changed" signal for the families
           GtkComboBox widget. The user has selected a different voice
           family. Save the new voice family name based on the new choice.

        Arguments:
        - widget: the component that generated the signal.
        NR(RRR$RRRRRSRRRR(R2RRRRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeechFamiliesChanged	s	

cCs,|iodS|i}|i|dS(sLSignal handler for the "changed" signal for the voiceTypes
           GtkComboBox widget. The user has selected a different voice
           type. Setup the new family, rate, pitch and volume component
           values based on the new choice.

        Arguments:
        - widget: the component that generated the signal.
        N(RRR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytvoiceTypesChanged	s

cCsO|i}|idi}|i|||tititii	<dS(s;Signal handler for the "value_changed" signal for the rateScale
           GtkHScale widget. The user has changed the current rate value.
           Save the new rate value based on the currently selected voice
           type.

        Arguments:
        - widget: the component that generated the signal.
        RN(
RdRSRRRRKRLRNRORR(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytrateValueChanged	s
cCsO|i}|idi}|i|||tititii	<dS(s>Signal handler for the "value_changed" signal for the pitchScale
           GtkHScale widget. The user has changed the current pitch value.
           Save the new pitch value based on the currently selected voice
           type.

        Arguments:
        - widget: the component that generated the signal.
        RN(
RdRSRRRRKRLRNRORQ(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytpitchValueChanged
s
cCsO|i}|idi}|i|||tititii	<dS(s@Signal handler for the "value_changed" signal for the voiceScale
           GtkHScale widget. The user has changed the current volume value.
           Save the new volume value based on the currently selected voice
           type.

        Arguments:
        - widget: the component that generated the signal.
        RN(
RdRSRRRRKRLRNRORP(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytvolumeValueChanged
s
cCs|i}||id<dS(shSignal handler for the "toggled" signal for the
           speechIndentationCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Speak indentation and justification' checkbox.
           Set the 'enableSpeechIndentation' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        R{N(RR(R2RR:((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeechIndentationChecked$
s
cCs|i|id<dS(sLSignal handler for the "toggled" signal for the
           speakBlankLinesCheckButton GtkCheckButton widget. The user has
           [un]checked the 'Speak blank lines' checkbox.
           Set the 'speakBlankLines' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        R}N(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeakBlankLinesChecked1
s
cCs|i|id<dS(sKSignal handler for the "toggled" signal for the
           speakMultiCaseAsWordsCheckButton GtkCheckButton widget. The user has
           [un]checked the checkbox.
           Set the 'speakMultiCaseStringsAsWords' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeakMultiCaseStringsToggled=
s
cCs|i|id<dS(sSignal handler for the "toggled" signal for the
           speakTutorialMessagesCheckButton GtkCheckButton widget.
           Set the 'enableTutorialMessages' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeakTutorialMessagesToggledI
s	cCs|i|id<dS(sSignal handler for the "toggled" signal for the
           pauseBreaksCheckButton GtkCheckButton widget.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytpauseBreaksToggledT
scCs|i|id<dS(sSignal handler for the "toggled" signal for the
           speakPositionCheckButton GtkCheckButton widget.
           Set the 'enablePositionSpeaking' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeakPositionToggled^
s	cCs|i|id<dS(sSignal handler for the "toggled" signal for the
           speakMnemonicsCheckButton GtkCheckButton widget.
           Set the 'Speak mnemonics automaticaly' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmnemonicSpeakingCheckedi
s	cCs|i|id<dS(sNSignal handler for the "toggled" signal for the
           brailleSupportCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable Braille support' checkbox. Set the
           'enableBraille' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytbrailleSupportCheckedt
s
cCs|i|id<dS(sUSignal handler for the "toggled" signal for the
           brailleMonitorCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable Braille monitor' checkbox. Set the
           'enableBrailleMonitor' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytbrailleMonitorChecked
s
cCs!|i|id<|idS(sSignal handler for the "toggled" signal for the
           keyEchoCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable Key Echo' checkbox. Set the
           'enableKeyEcho' preference to the new value. [In]sensitize
           the checkboxes for the various types of key echo, depending
           upon whether this value is checked or unchecked.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRR}(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytkeyEchoChecked
scCs|i|id<dS(slSignal handler for the "toggled" signal for the
           printableCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable alphanumeric and punctuation keys'
           checkbox. Set the 'enablePrintableKeys' preference to the
           new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytprintableKeysChecked
scCs|i|id<dS(sKSignal handler for the "toggled" signal for the
           modifierCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable modifier keys' checkbox. Set the
           'enableModifierKeys' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmodifierKeysChecked
s
cCs|i|id<dS(sHSignal handler for the "toggled" signal for the
           lockingCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable locking keys' checkbox. Set the
           'enableLockingKeys' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytlockingKeysChecked
s
cCs|i|id<dS(sISignal handler for the "toggled" signal for the
           functionCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable locking keys' checkbox. Set the
           'enableLockingKeys' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytfunctionKeysChecked
s
cCs|i|id<dS(sESignal handler for the "toggled" signal for the
           actionCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable action keys' checkbox. Set the
           'enableActionKeys' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytactionKeysChecked
s	cCs|i|id<dS(sQSignal handler for the "toggled" signal for the
           navigationCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable navigation keys' checkbox. Set the
           'enableNavigationKeys' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytnavigationKeysChecked
s	cCs|i|id<dS(sTSignal handler for the "toggled" signal for the
           diacriticalCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable diacritical keys' checkbox. Set the
           'enableDiacriticalKeys' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytdiacriticalKeysChecked
s	cCs|i|id<dS(sYSignal handler for the "toggled" signal for the
           echoByCharacterCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable Echo by Character' checkbox. Set the
           'enableEchoByCharacter' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytechoByCharacterChecked
s
cCs|i|id<dS(sJSignal handler for the "toggled" signal for the
           echoByWordCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable Echo by Word' checkbox. Set the
           'enableEchoByWord' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytechoByWordChecked
s
cCs|i|id<dS(sVSignal handler for the "toggled" signal for the
           echoBySentenceCheckbutton GtkCheckButton widget. The user has
           [un]checked the 'Enable Echo by Sentence' checkbox. Set the
           'enableEchoBySentence' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytechoBySentenceCheckeds
cCs|io|itdjoti|id<q|itdjoti|id<q|itdjoti|id<qti|id<ndS(sVSignal handler for the "toggled" signal for the
           brailleSelectionNoneButton, brailleSelection7Button,
           brailleSelection8Button or brailleSelectionBothButton
           GtkRadioButton widgets. The user has toggled the braille
           selection indicator value. If this signal was generated
           as the result of a radio button getting selected (as
           opposed to a radio button losing the selection), set the
           'brailleSelectorIndicator' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        sDot _7RsDot _8s
Dots 7 an_d 8N(	Rt	get_labelRRRRRRtBRAILLE_SEL_NONE(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytbrailleSelectionChangeds
cCs|io|itdjoti|id<q|itdjoti|id<q|itdjoti|id<qti|id<ndS(s9Signal handler for the "toggled" signal for the
           brailleLinkNoneButton, brailleLink7Button,
           brailleLink8Button or brailleLinkBothButton
           GtkRadioButton widgets. The user has toggled the braille
           link indicator value. If this signal was generated
           as the result of a radio button getting selected (as
           opposed to a radio button losing the selection), set the
           'brailleLinkIndicator' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        sDot _7RsDot _8s
Dots 7 an_d 8N(	RRRRRRR R!tBRAILLE_LINK_NONE(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytbrailleLinkChanged:s
cCs|io|itdjoti|id<q|itdjoti|id<q|itdjoti|id<qti|id<ndS(sCSignal handler for the "toggled" signal for the
           textBrailleNoneButton, textBraille7Button, textBraille8Button
           or textBrailleBothButton GtkRadioButton widgets. The user has
           toggled the text attributes braille indicator value. If this signal
           was generated as the result of a radio button getting selected
           (as opposed to a radio button losing the selection), set the
           'textAttributesBrailleIndicator' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        sDot _7RsDot _8s
Dots 7 an_d 8N(	RRRRR3RR4R5tTEXT_ATTR_BRAILLE_NONE(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytbrailleIndicatorChangedcs

cCs|io|itdjoti|id<q|itdjoti|id<q|itdjoti|id<qti|id<ndS(sSignal handler for the "toggled" signal for the noneButton,
           someButton or allButton GtkRadioButton widgets. The user has
           toggled the speech punctuation level value. If this signal
           was generated as the result of a radio button getting selected
           (as opposed to a radio button losing the selection), set the
           'verbalizePunctuationStyle' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        t_NoneRotSo_metM_ostN(	RRRRRRR
RtPUNCTUATION_STYLE_ALL(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytpunctuationLevelChangeds
cCst|i}|tddjoti|id<n;|tddjoti|id<nti|id<dS(sSignal handler for the changed signal for the progressBarVerbosity
           GtkComboBox widget. Set the 'progressBarVerbosity' preference to
           the new value.

        Arguments:
        - widget: the component that generated the signal.
        RRRRN(RPRRtPROGRESS_BAR_ALLRtPROGRESS_BAR_WINDOWtPROGRESS_BAR_APPLICATION(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytprogressBarVerbosityChangeds		cCs^|i}|tdjoti|id<n(|tdjoti|id<ndS(sSignal handler for the "changed" signal for the sayAllStyle
           GtkComboBox widget. Set the 'sayAllStyle' preference to the
           new value.

        Arguments:
        - widget: the component that generated the signal.
        RRRN(RPRRtSAYALL_STYLE_LINERtSAYALL_STYLE_SENTENCE(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytsayAllStyleChangeds
	cCsR|ioA|itdjoti|id<qNti|id<ndS(sSignal handler for the "toggled" signal for the speechBriefButton,
           or speechVerboseButton GtkRadioButton widgets. The user has
           toggled the speech verbosity level value. If this signal was
           generated as the result of a radio button getting selected
           (as opposed to a radio button losing the selection), set the
           'speechVerbosityLevel' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        tBrie_fRtN(RRRRRRtVERBOSITY_LEVEL_VERBOSE(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeechVerbosityChangeds
cCsL|io;|itdjot|id<qHt|id<ndS(sSignal handler for the "toggled" signal for the cellSpeechButton,
           or rowSpeechButton GtkRadioButton widgets. The user has
           toggled the table row speech type value. If this signal was
           generated as the result of a radio button getting selected
           (as opposed to a radio button losing the selection), set the
           'readTableCellRow' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        sSpeak current _cellRwN(RRRRbRR`(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttableSpeechChangeds
cCsI|i}||id<|idi||idi|dS(sSignal handler for the "toggled" signal for the
           speechProgressBarCheckbutton GtkCheckButton widget.
           The user has [un]checked the "Speak progress bar updates" checkbox.
           Set the 'enableProgressBarUpdates' preference to the new value.
           Set the rest of the 'update interval' hbox items [in]sensensitive
           depending upon whether this checkbox is checked.

        Arguments:
        - widget: the component that generated the signal.
        RRtprogressBarVerbosityHBoxN(RRRSR
(R2RR:((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeechProgressBarCheckeds
cCs|i|id<dS(sSignal handler for the "value_changed" signal for the
           speakProgressBarSpinButton GtkSpinButton widget.
           The user has changed the value of the "speak progress bar
           updates" spin button. Set the 'progressBarUpdateInterval'
           preference to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        RN(tget_value_as_intR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeakProgressBarValueChanged+scCs|i}||id<dS(sSignal handler for the "toggled" signal for the
           speakUnderMouseCheckButton GtkCheckButton widget.
           The user has [un]checked the "Speak object under mouse" checkbox.
           Set the 'enableMouseReview' preference to the new value.
           Set the rest of the 'dwell time' hbox items [in]sensensitive
           depending upon whether this checkbox is checked.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2RR:((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytspeakUnderMouseChecked9scCs|i|_dS(sSignal handler for the "toggled" signal for the
           autoStartOrcaCheckbutton GtkCheckButton widget.
           The user has [un]checked the 'Start Orca when you login'
           checkbox. Remember the new setting so that it can be used
           to create or remove ~/.config/autostart/orca.desktop, if 
           the user presses the Apply or OK button.

        Arguments:
        - widget: the component that generated the signal.
        N(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytautostartOrcaCheckedHscCs5|ioti|id<nti|id<dS(sJSignal handler for the "toggled" signal for the abbrevRolenames
           GtkCheckButton widget. The user has [un]checked the 'Abbreviated
           Rolenames' checkbox. Set the 'brailleRolenameStyle' preference
           to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRRRtBRAILLE_ROLENAME_STYLE_LONG(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytabbrevRolenamesCheckedVs

cCs|i|id<dS(sVSignal handler for the "toggled" signal for the disableBrailleEOL
           GtkCheckButton widget. The user has [un]checked the 'Disable
           braille end of line symbol' checkbox. Set the 'disableBrailleEOL'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytdisableBrailleEOLCheckedgs
cCsR|ioA|itdjoti|id<qNti|id<ndS(sSignal handler for the "toggled" signal for the brailleBriefButton,
           or brailleVerboseButton GtkRadioButton widgets. The user has
           toggled the braille verbosity level value. If this signal was
           generated as the result of a radio button getting selected
           (as opposed to a radio button losing the selection), set the
           'brailleVerbosityLevel' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RRN(RRRRRRR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytbrailleVerbosityChangedss
cCs|i}|ioi|io\|oGti|idtij}|idi	ti
o|qtin||id<|idi	|dS(sSignal handler for the "toggled" signal for the
           magnifierSupportCheckbutton GtkCheckButton widget.
           The user has [un]checked the 'Enable Magnification' checkbox.
           Set the 'enableMagnifier' preference to the new value.
           Set the rest of the magnifier pane items [in]sensensitive
           depending upon whether this checkbox is checked.

        Arguments:
        - widget: the component that generated the signal.
        RRRRN(RRtis_focustmagRRRR$RSR
tisFullScreenCapableR(R2RR:tisFullScreen((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagnifierSupportCheckeds


cCs|i}|ioN|ioA|idi}|idi}ti|||n||id<|idi|dS(sSignal handler for the "toggled" signal for the
           magCursorOnOffCheckButton GtkCheckButton widget.
           The user has [un]checked the magnification cursor settings
           'Cursor on/off' checkbox. Set the 'enableMagCursor' preference
           to the new value. Set the sensitivity of the other cursor items
           depending upon this new value.

        Arguments:
        - widget: the component that generated the signal.
        RRRRN(	RRR	RSRR
tsetMagnifierCursorRR
(R2RtenableCursortcustomR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagCursorOnOffCheckeds
cCs|i}|io9|io,|idi}tit||n||id<|idi	||idi	|dS(sSignal handler for the "toggled" signal for the
           magCursorSizeCheckButton GtkCheckButton widget.
           The user has [un]checked the magnification cursor settings
           'Explicit cursor size' checkbox. Set the
           'enableMagCursorExplicitSize' preference to the new value.
           [Un]sensitize the cursor size spin button and label depending
           upon whether this checkbox is checked.

        Arguments:
        - widget: the component that generated the signal.
        RRRN(
RRR	RSRR
RR`RR
(R2RR:R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagCursorExplicitSizeCheckeds

cCsK|i}|io$|iotitt|n||id<dS(sSignal handler for the "value_changed" signal for the
           magCursorSizeSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           cursor settings cursor size spin button. Set the
           'magCursorSize' preference to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRR	R
RR`R(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagCursorSizeValueChangedscCs|i}d|i|i|if}|io\|ioOtid||idi	}ti
ttdti
tt|n||i
d<dS(spSignal handler for the "color_set" signal for the
           magCursorColorButton GtkColorButton widget.
           The user has changed the value of the magnification
           cursor settings cursor color button. Set the 'magCursorColor'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        s
#%04X%04X%04Xscursor-colorRiRN(t	get_colortredtgreentblueRR	R
tsetMagnifierObjectColorRSRRRbR`R(R2RRLRKR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagCursorColorSetscCs[|i}|io|ioti|n||id<|idi|dS(sSignal handler for the "toggled" signal for the
           magCrossHairOnOffCheckButton GtkCheckButton widget.
           The user has [un]checked the magnification cross-hair settings
           'Cross-hair on/off' checkbox. Set the 'enableMagCrossHair'
           preference to the new value. Set the sensitivity of the other
           cross-hair items depending upon this new value.

        Arguments:
        - widget: the component that generated the signal.
        RRN(RRR	R
tsetMagnifierCrossHairRRSR
(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagCrossHairOnOffCheckeds

cCsE|i}|io|ioti|n||id<dS(sSignal handler for the "toggled" signal for the
           magCrossHairClipCheckButton GtkCheckButton widget.
           The user has [un]checked the magnification cross-hair settings
           'Cross-hair clip on/off' checkbox. Set the 'enableMagCrossHairClip'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRR	R
tsetMagnifierCrossHairClipR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagCrossHairClipOnOffChecked

scCsH|i}|io!|iotid|n||id<dS(sSignal handler for the "value_changed" signal for the
           magCrossHairSizeSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           cross-hair settings cross-hair size spin button. Set the
           'magCrossHairSize' preference to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        scrosswire-sizeRN(RRR	R
tsetMagnifierObjectSizeR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagCrossHairSizeValueChanged
scCsd|i}d|i|i|if}|io!|iotid|n||id<dS(sSignal handler for the "color_set" signal for the
           magCrossHairColorButton GtkColorButton widget.
           The user has changed the value of the magnification
           cross-hair settings cross-hair color button. Set the 
           'magCrossHairColor' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        s
#%04X%04X%04Xscrosswire-colorRN(	RRRRRR	R
RR(R2RRLtcrossHairColor((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagCrossHairColorSet-
s
cCs|i}||id<|idi|tij|tij}|id}|i||i}d}|o6|o/|idi||idi}n|tij}|iditi	o||p't
|id<|idit
n|ipd	S|tijo|id
i}|idi}	|idi}
|id
i}||jo|	jo
|
jnp#ti
||	||
||iqnti
|d|itid|d	S(sSignal handler for the "changed" signal for the
           magZoomerPositionComboBox GtkComboBox widget.
           The user has changed the zoomer position type. Set the 
           'magZoomerType' preference to the new value. 
           Set the magnifier zoomer position items [in]sensensitive, 
           depending upon the new zoomer position type.

        Arguments:
        - widget: the component that generated the signal.
        RRRiRRRRNRCRERGRItrestoresborder-size(RRRSR
RR)R$RR
RRbRRtsetupMagnifiertsetZoomerObjectSize(R2RRWtenableBordertcheckButtontcheckedRRttoptlefttrighttbottom((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagZoomerPositionChanged>
s<



*cCs8|i}||id<|ioti|ndS(sGSignal handler for the "toggled" signal for the
           magHideCursorCheckButton GtkCheckButton widget. The user
           has [un]checked the hide system cursor checkbox. Set the
           'magHideCursor' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRRR
thideSystemPointer(R2RR'((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagHideCursorChecked}
s


cCs|i}||id<|io
|ipdS|idi}|idi}|idi}titi|||||idS(sxSignal handler for the "value_changed" signal for the
           magZoomerTopSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           zoomer placement top spin button. Set the 'magZoomerTop'
           preference to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        RBNRERGRI(	RRRR	RSR
R#RR)(R2RR(R)R*R+((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagZoomerTopValueChanged
s
cCs|i}||id<|io
|ipdS|idi}|idi}|idi}titi|||||idS(sSignal handler for the "value_changed" signal for the
           magZoomerBottomSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           zoomer placement bottom spin button. Set the 'magZoomerBottom'
           preference to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        RHNRERCRG(	RRRR	RSR
R#RR)(R2RR+R)R(R*((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagZoomerBottomValueChanged
s
cCs|i}||id<|io
|ipdS|idi}|idi}|idi}titi|||||idS(s{Signal handler for the "value_changed" signal for the
           magZoomerLeftSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           zoomer placement left spin button. Set the 'magZoomerLeft'
           preference to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        RDNRCRGRI(	RRRR	RSR
R#RR)(R2RR)R(R*R+((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagZoomerLeftValueChanged
s
cCs|i}||id<|io
|ipdS|idi}|idi}|idi}titi|||||idS(s~Signal handler for the "value_changed" signal for the
           magZoomerRightSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           zoomer placement right spin button. Set the 'magZoomerRight'
           preference to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        RFNRERCRI(	RRRR	RSR
R#RR)(R2RR*R)R(R+((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagZoomerRightValueChanged
s
cCsH|i}|io!|ioti||n||id<dS(siSignal handler for the "value_changed" signal for the
           magZoomFactorSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           zoom factor spin button. Set the 'magZoomFactor'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RdRR	R
tsetZoomerMagFactorR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagZoomFactorValueChanged
scCs|i}||id<|idi||io
|ipdS|idi}|p
d}ntid|dS(sSignal handler for the "toggled" signal for the
           magBorderCheckButton GtkCheckButton widget.
           The user has [un]checked the magnification border settings
           'Enable border' checkbox. Set the 'enableMagZoomerBorder'
           preference to the new value and set the sensitivity of the
           other magnification border items depending upon this new value.

        Arguments:
        - widget: the component that generated the signal.
        RRNRisborder-size(	RRRSR
RR	RR
R$(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagBorderChecked
s

cCsH|i}|io!|iotid|n||id<dS(sSignal handler for the "value_changed" signal for the
           magBorderSizeSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           border settings border size spin button. Set the
           'magZoomerBorderSize' preference to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        sborder-sizeRN(RRR	R
R$R(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagBorderSizeValueChangedscCsd|i}d|i|i|if}|io!|iotid|n||id<dS(svSignal handler for the "color_set" signal for the
           magBorderColorButton GtkColorButton widget.
           The user has changed the value of the magnification
           cursor settings cursor color button. Set the 'magZoomerBorderColor'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        s
#%04X%04X%04Xsborder-colorRN(	RRRRRR	R
tsetZoomerObjectColorR(R2RRLRP((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagBorderColorSets
cCst|id}||id<|io
|ipdS|id|}|id|}|id|}ti|||dS(sSignal handler for the "value_changed" signal for the
           magColorBrightnessSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           color settings brightness spin button. Set the 'magBrightnessLevel'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iRNtmagBrightnessLevelRedtmagBrightnessLevelGreentmagBrightnessLevelBlue(troundRdRRR	R
tsetZoomerBrightness(R2RRtrtgtb((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagColorBrightnessValueChanged0s
cCst|id}||id<|io
|ipdS|id|}|id|}|id|}ti|||dS(s{Signal handler for the "value_changed" signal for the
           magColorContrastSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           color settings contrast spin button. Set the 'magContrastLevel'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iRNtmagContrastLevelRedtmagContrastLevelGreentmagContrastLevelBlue(R<RdRRR	R
tsetZoomerContrast(R2RRR>R?R@((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagColorContrastValueChangedEs
cCs$tii|itiidS(sWSignal handler for the "clicked" signal for the magAdvancedButton
           GtkButton widget. The user has clicked the Advanced Settings
           button.  Save the current state of the preferences for the settings
           on the dialog, and show it.

        Arguments:
        - widget: the component that generated the signal.
        N(RNROtsaveAdvancedSettingsRtadvancedMagDialogRt(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagAdvancedButtonClickedZs
cCs|i}||ijo
ti}na||ijo
ti}nD||ijo
ti}n'||ijo
ti	}n
ti}||i
d<ti|dS(sWSignal handler for the "changed" signal for the
           magMouseTrackingComboBox GtkComboBox widget. The user has
           selected a different magnification mouse tracking style.
           Set the 'magMouseTrackingMode' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(
RPR,RR+R2R1R0R/R.R-RR
tupdateMouseTracking(R2RRZR[((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagMouseTrackingChangedgs




	
cCs|i}||ijo
ti}nD||ijo
ti}n'||ijo
ti}n
ti}||id<t	i
|dS(swSignal handler for the "changed" signal for the
           magControlTrackingComboBox GtkComboBox widget. The user has
           selected a different magnification control and menu item
           tracking style. Set the 'magControlTrackingMode' preference 
           to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RPR,RR+R2R1R.R-RR
tupdateControlTracking(R2RR]R[((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagControlTrackingChangeds


	
cCs|i}||ijo
ti}nD||ijo
ti}n'||ijo
ti}n
ti}||id<|i	di
|tijti|dS(sSignal handler for the "changed" signal for the
           magTextCursorTrackingComboBox GtkComboBox widget. The user has
           selected a different magnification text cursor tracking style.
           Set the 'magTextCursorTrackingMode' preference to the new value
           and grey out the edge margin widget unless the mode is "Push".

        Arguments:
        - widget: the component that generated the signal.
        RRN(
RPR,RR+R2R1R.R-RRSR
R
tupdateTextTracking(R2RR^R[((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagTextTrackingChangeds


	
cCs*|i}||id<ti|dS(srSignal handler for the "value_changed" signal for the
           magEdgeMarginSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           edge margin spin button. Set the 'magEdgeMargin' preference 
           to the new integer value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRR
tupdateEdgeMargin(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagEdgeMarginValueChangeds
cCsE|i}||id<|io|ioti|ndS(sUSignal handler for the "toggled" signal for the
           magPointerFocusCheckButton GtkCheckButton widget. The user
           has [un]checked the pointer follows focus checkbox. Set the
           'magPointerFollowsFocus' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRRR	R
tupdatePointerFollowsFocus(R2Rtenabled((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagPointerFocusCheckeds

cCsE|i}||id<|io|ioti|ndS(sXSignal handler for the "toggled" signal for the
           magPointerZoomerCheckButton GtkCheckButton widget. The user
           has [un]checked the pointer follows zoomer checkbox. Set the
           'magPointerFollowsZoomer' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRRR	R
tupdatePointerFollowsZoomer(R2RRS((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagPointerZoomerCheckeds

cCsE|i}|io|ioti|n||id<dS(sqSignal handler for the "toggled" signal for the
           magCrossHairOnOffCheckButton GtkCheckButton widget.
           The user has [un]checked the magnification 'Invert Colors'
           checkbox. Set the 'enableMagZoomerColorInversion' preference
           to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRR	R
tsetZoomerColorInversionR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagInvertColorsCheckedscCs||||||<dS(s6When the user changes a checkbox field (boolean field)N((R2RRRR"((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRyscCs3titdtt_|id|idS(s5Starts user input of a Key for a selected key bindings
enter new keyskey-press-eventN(RRRR`RNt
capturingKeysRltkbKeyPressed(R2RR>RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRms	cCs
tt_dS(s4Stops user input of a Key for a selected key bindingN(RbRNRY(R2R>((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRns	cCsti}|p|id
jotS|i}|iti@}|djo-|o%|idti	t
dtSti}t
i|ti|id||_t
i|i}|i|}|||}|ii|}	|	djoC|ii|ido*|ii|}
|
o
|
i}	q7n|	oti	t
d|	n%ti	t
d	||i|tS(
sSpecial handler for the key_pressed events when editing the
        keybindings.  This lets us control what gets inserted into the
        entry.
        tReturntEscapetDeletet	BackSpaceRs,Key binding deleted. Press enter to confirm.t
keysNoMasks&The key entered is already bound to %ss)Key captured: %s. Press enter to confirm.(R[R\(R]R^N(RNtlastCapturedKeytevent_stringRbRRtORCA_MODIFIER_MASKRRRRR`RRRtdefaultModifierMaskRRRRRRRRtgetInputHandlerR(R2R>teventtcapturedtkeyNametisOrcaModifierRt
modifierNamest	newStringRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRZs>		
		

c
Cs'tt_|i|}
|i|
|	}||j}y(|ii}
|ii}|ii}Wnd}
d}d}nX|i
|
|ti||||
|	|||t
|
ti|o3td|}|i|
t}||i|<n
td}|oti|d|i|<ndS(s]The user changed the key for a Keybinding: update the model of
        the treeview.
        iisThe new key is: %ss The keybinding has been removed.RN(RbRNRYtget_iter_from_stringRdRRRRRRRRcRzRRRReRR(R2RRRRtmodMasktmodUsedRRR8RgtoriginalBindingtmodifiedtstringtmodsRtmessageR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRoIs:	
		


cCs|i|id<dS(sYSignal handler for the "toggled" signal for the
           showMainWindowCheckButton GtkCheckButton widget.
           The user has [un]checked the 'Show Orca main window'
           checkbox. Set the 'showMainWindow' preference
           to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytshowMainWindowCheckedzscCs|i|id<dS(sgSignal handler for the "toggled" signal for the
           confirmQuitCheckButton GtkCheckButton widget.
           The user has [un]checked the 'Quit Orca without
           confirmation' checkbox. Set the 'quitOrcaNoConfirmation'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RN(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytconfirmQuitCheckedscCs!|ioti|id<dS(swSignal handler for the "toggled" signal for the
           presentToolTipsCheckButton GtkCheckButton widget.
           The user has [un]checked the 'Present ToolTips'
           checkbox. Set the 'presentToolTips'
           preference to the new value if the user can present tooltips.

        Arguments:
        - widget: the component that generated the signal.
        RN(RRR6R(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytpresentToolTipsCheckeds
cCs|i|_dS(skSignal handler for the "toggled" signal for the
           disableKeyGrabCheckButton GtkCheckButton widget.
           The user has [un]checked the 'Disable gksu keyboard grab'
           checkbox. Set the gconf '/apps/gksu/disable-grab' resource
           to the new value.

        Arguments:
        - widget: the component that generated the signal.
        N(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytdisableKeyGrabCheckedscCsr|ioa|itdjo$ti|id<ti|id<qnti|id<ti|id<ndS(s(Signal handler for the "toggled" signal for the generalDesktopButton,
           or generalLaptopButton GtkRadioButton widgets. The user has
           toggled the keyboard layout value. If this signal was
           generated as the result of a radio button getting selected
           (as opposed to a radio button losing the selection), set the
           'keyboardLayout' preference to the new value. Also set the
           matching list of Orca modifier keys

        Arguments:
        - widget: the component that generated the signal.
        t_DesktopRRN(	RRRRR8RtDESKTOP_MODIFIER_KEYStGENERAL_KEYBOARD_LAYOUT_LAPTOPtLAPTOP_MODIFIER_KEYS(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytkeyboardLayoutChangeds

cCs|iii\}}|i}|i|tdtd|id}|ii	d}|ii
|ii|d|tdS(sSignal handler for the "clicked" signal for the
        pronunciationAddButton GtkButton widget. The user has clicked
        the Add button on the Pronunciation pane. A new row will be 
        added to the end of the pronunciation dictionary list. Both the
        actual and replacement strings will initially be set to an empty
        string. Focus will be moved to that row.

        Arguments:
        - widget: the component that generated the signal.
        RiiN(
R t
get_selectiontget_selectedRRR1R3RRRt
grab_focust
set_cursorR`(R2RRtoldIterRR	R"((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytpronunciationAddButtonClickeds
cCs,|iii\}}|i|dS(sWSignal handler for the "clicked" signal for the
        pronunciationDeleteButton GtkButton widget. The user has clicked
        the Delete button on the Pronunciation pane. The row in the 
        pronunciation dictionary list with focus will be deleted.

        Arguments:
        - widget: the component that generated the signal.
        N(R R|R}R(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt pronunciationDeleteButtonClickeds
cCs@|i|itit|i|itit|idS(sSignal handler for the "clicked" signal for the
        textSelectAllButton GtkButton widget. The user has clicked
        the Speak all button.  Check all the text attributes and
        then update the "enabledSpokenTextAttributes" and
        "enabledBrailledTextAttributes" preference strings.

        Arguments:
        - widget: the component that generated the signal.
        N(RRRRR`RR
(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextSelectAllButtonClickeds


cCs@|i|itit|i|itit|idS(sSignal handler for the "clicked" signal for the
        textUnselectAllButton GtkButton widget. The user has clicked
        the Speak none button. Uncheck all the text attributes and
        then update the "enabledSpokenTextAttributes" and
        "enabledBrailledTextAttributes" preference strings.

        Arguments:
        - widget: the component that generated the signal.
        N(RRRRRbRR
(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextUnselectAllButtonClickeds


cCsY|i|itit|i|itit|i|itit|i	dS(sSignal handler for the "clicked" signal for the
        textResetButton GtkButton widget. The user has clicked
        the Reset button. Reset all the text attributes to their
        initial state and then update the "enabledSpokenTextAttributes"
        and "enabledBrailledTextAttributes" preference strings.

        Arguments:
        - widget: the component that generated the signal.
        N(
RRRRRbRR`RRR
(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextResetButtonClickeds


cCs_|ii}|i\}}x-|D]%}|i|}|i|dq(W|idS(sSignal handler for the "clicked" signal for the
        textMoveToTopButton GtkButton widget. The user has clicked
        the Move to top button. Move the selected rows in the text
        attribute view to the very top of the list and then update
        the "enabledSpokenTextAttributes" and "enabledBrailledTextAttributes"
        preference strings.

        Arguments:
        - widget: the component that generated the signal.
        N(RR|tget_selected_rowsRt
move_afterRR
(R2Rt
textSelectionRtpathsRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextMoveToTopButtonClicked"scCs|ii}|i\}}xV|D]N}|i|}|do.|id|dd}|i||q(q(W|idS(sSignal handler for the "clicked" signal for the
        textMoveUpOneButton GtkButton widget. The user has clicked
        the Move up one button. Move the selected rows in the text
        attribute view up one row in the list and then update the
        "enabledSpokenTextAttributes" and "enabledBrailledTextAttributes"
        preference strings.

        Arguments:
        - widget: the component that generated the signal.
        iiN(RR|RRtiter_nth_childRtswapR
(R2RRRRRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextMoveUpOneButtonClicked5sc	Cs|ii}|i\}}|id}xU|D]M}|i|}|d|djo#|i|}|i||q7q7W|idS(sSignal handler for the "clicked" signal for the
        textMoveDownOneButton GtkButton widget. The user has clicked
        the Move down one button. Move the selected rows in the text
        attribute view down one row in the list and then update the
        "enabledSpokenTextAttributes" and "enabledBrailledTextAttributes"
        preference strings.

        Arguments:
        - widget: the component that generated the signal.
        iiN(	RR|RRRRReRR
(	R2RRRRR	RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextMoveDownOneButtonClickedJscCs_|ii}|i\}}x-|D]%}|i|}|i|dq(W|idS(sSignal handler for the "clicked" signal for the
        textMoveToBottomButton GtkButton widget. The user has clicked
        the Move to bottom button. Move the selected rows in the text
        attribute view to the bottom of the list and then update the
        "enabledSpokenTextAttributes" and "enabledBrailledTextAttributes"
        preference strings.

        Arguments:
        - widget: the component that generated the signal.
        N(RR|RRRRR
(R2RRRRRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyttextMoveToBottomButtonClicked`scCstidS(sSignal handler for the "clicked" signal for the helpButton
           GtkButton widget. The user has clicked the Help button.

        Arguments:
        - widget: the component that generated the signal.
        N(torcathelpForOrca(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pythelpButtonClickedsscCsMtiti}|i|tii<|i|tii<|i	|tii
<dS(sRRestore the settings we saved away when opening the preferences
           dialog.N(RRKRLR/RNRORPR0RQR1RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytrestoreSettings}scCsL|i|idi}||id<|io|ii|id<n|io|ii|id<n|idjoSht
i|iti
6t
i|iti6t
i|iti6|id<nti|iy2ti|i}|iditiWnnX|iti|i|idS(s^Signal handler for the "clicked" signal for the applyButton
           GtkButton widget. The user has clicked the Apply button.
           Write out the users preferences. If GNOME accessibility hadn't
           previously been enabled, warn the user that they will need to
           log out. Shut down any active speech servers that were started.
           Reload the users preferences to get the new speech, braille and
           key echo value to take effect. Do not dismiss the configuration
           window.

        Arguments:
        - widget: the component that generated the signal.
        RmRlRRRKRN(RRSRRR)RR&RRRRNRORRLR,RRRtsetGKSUGrabDisabledRtsetOrcaAutostartRRR9RRtloadUserSettingsRR{(R2RR:tstatus((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytapplyButtonClickeds.



$


cCs$|i||ididS(s'Signal handler for the "clicked" signal for the cancelButton
           GtkButton widget. The user has clicked the Cancel button.
           Don't write out the preferences. Destroy the configuration window.

        Arguments:
        - widget: the component that generated the signal.
        RGN(twindowClosedRStdestroy(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytcancelButtonClickeds	
cCs.|i||i|ididS(sCSignal handler for the "clicked" signal for the okButton
           GtkButton widget. The user has clicked the OK button.
           Write out the users preferences. If GNOME accessibility hadn't
           previously been enabled, warn the user that they will need to
           log out. Shut down any active speech servers that were started.
           Reload the users preferences to get the new speech, braille and
           key echo value to take effect. Hide the configuration window.

        Arguments:
        - widget: the component that generated the signal.
        RGN(RRRSR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytokButtonClickeds


cCs"|iti|idS(s!Signal handler for the "closed" signal for the orcaSetupWindow
           GtkWindow widget. This is effectively the same as pressing the
           cancel button, except the window is destroyed for us.

        Arguments:
        - widget: the component that generated the signal.
        N(RR
tfinishLiveUpdatingR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs	

cCs|iid|iid|iid|iit|iit|iit|ii|ii|ii|ii|ii|iit	i
dt_dS(seSignal handler for the "destroyed" signal for the orcaSetupWindow
           GtkWindow widget. Reset orca_state.orcaOS to None, so that the 
           GUI can be rebuilt from the GtkBuilder file the next time the user
           wants to display the configuration GUI.

        Arguments:
        - widget: the component that generated the signal.
        N(
RRRRR RRbRRR
RRNRY(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytwindowDestroyeds







cCs|iS(s`Return a handle to the Orca Preferences advanced magnification
        settings dialog.
        (torcaMagAdvancedDialog(R2((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytgetAdvancedMagDialogs(Rt
__module__RR,R.R0R2RR
RRRR`RRRRRRRRRRRRRRRRRRbRRRR
RRRRRR#R0R2R4R5R?RkRRR*RyR~R}RRRRRRRRR{RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRR!R,R.R/R0R1R2R4R5R6R8RARFRIRKRMRORQRTRVRXRyRmRnRZRoRsRtRuRvR{RRRRRRRRRRRRRRRRR(((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRIs>
4	 		$					
						1	&		"	-	%)													P	r	+	
	.						%*$	H										
				
						
										)	)	(	&	$																				?												
											7	1	
	
		
			
								
		8			
	tOrcaAdvancedMagGUIcBseZddZdZdZdZdZdZdZ	dZ
dZd	Zd
Z
dZdZd
ZdZdZdZdZdZdZdZdZdZdZdZRS(cCsGti|||||_ti|_d|_d|_d|_	dS(sInitialize the Orca configuration GUI.

        Arguments:
        - fileName: name of the GtkBuilder file.
        - windowName: name of the component to get from the GtkBuilder file.
        N(
RR
RRR
RRt
savedSettingstsourceDisplayModelttargetDisplayModel(R2R3R4R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR
s			cCs`|ip|i|id|_n|ip|i|id|_n|idS(sInitialize the magnification Advanced Settings dialog GUI.
        Read the users current set of preferences and set the GUI state 
        to match. 
        RR@N(RR~RSRR(R2((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs


cCsm|i}t|_|i}|i|d|i|d|d|d|i|d|d|d|i|dtii	}|i
}|i}|ii
|ii
xStd	|D]B}d
t|}|ii||f|ii||fqW|d}|id}	|	id
jo|	idn|i|	|d}
|	i}|i|
}|o)|i|d}
|	ii|
n|d}|id}|id
jo|idn|i||d}
|i}|i|
}|o)|i|d}
|ii|
n||_|i|idS(s}Adjust the settings of the various components on the
        configuration GUI depending upon the users preferences.
        tmagSmoothingModeR9R:R;RBRCRDtmagColorFilteringModeis:0.tmagSourceDisplayRiitmagTargetDisplayR@N(RRbRtsetSmoothingModetsetRGBBrightnessValuestsetRGBContrastValuestsetColorFilteringModeRTRJRKRLRMRRRRRRRStget_text_columntset_text_columnR*RRRdt	get_childRtupdateRGBBrightnesstupdateRGBContrast(R2RHRdR\R]RRtscreenNot
screenNameRStsourceComboBoxRXRtdisplayIterRR_ttargetComboBox((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR-sX			





	
cCs|tijotd}n-|tijotd}n
td}|id}|i|tdtdg|i||}|i||iot	i
|ndS(sGet the smoothing preference and set the active value for the
           smoothing combobox accordingly.

        Arguments:
        - smoothingMode: the smoothing mode.
        tBilinearRtmagSmoothingComboBoxN(RtMAG_SMOOTHING_MODE_BILINEARRtMAG_SMOOTHING_MODE_NONERSRR*RRR
tsetZoomerSmoothingType(R2t
smoothingModeR[RRX((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRvs"

cCs|i}|tdjo
ti}n*|tdjo
ti}n
ti}|ioti|n||id<dS(sJSignal handler for the "changed" signal for the
           magSmoothingComboBox GtkComboBox widget. The user has
           selected a different magnification smoothing style.
           Set the 'magSmoothingMode' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RRRN(	RPRRRRRR
RR(R2RRR[((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagSmoothingChangeds


	
cCsF|idi||idi||idi|dS(sSet the spin button values for the Brightness RGB levels.

        Arguments:
        - red:   the red brightness value.
        - green: the green brightness value.
        - blue:  the blue brightness value.
        tmagBrightnessRedSpinButtontmagBrightnessGreenSpinButtontmagBrightnessBlueSpinButtonN(RSR(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs	cCs|ipdS|idi}|idi}|idi}|id}t||d}t||d}t||d}ti|||dS(soGets the RGB brightness spin button values and live-updates
        the brightness level in gnome-mag.
        NRRRRi(RRSRdRR<R
R=(R2R>R?R@t
brightness((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs

cCs0t|id}||id<|idS(swSignal handler for the "value_changed" signal for the
           magBrightnessRedSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           brightness Red spin button. Set the 'magBrightnessLevelRed'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iR9N(R<RdRR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagBrightnessRedValueChangeds
cCs0t|id}||id<|idS(s}Signal handler for the "value_changed" signal for the
           magBrightnessGreenSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           brightness Green spin button. Set the 'magBrightnessLevelGreen'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iR:N(R<RdRR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagBrightnessGreenValueChangeds
cCs0t|id}||id<|idS(szSignal handler for the "value_changed" signal for the
           magBrightnessBlueSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           brightness Blue spin button. Set the 'magBrightnessLevelBlue'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iR;N(R<RdRR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagBrightnessBlueValueChangeds
cCsF|idi||idi||idi|dS(sSet the spin button values for the Contrast RGB levels.

        Arguments:
        - red:   the red contrast value.
        - green: the green contrast value.
        - blue:  the blue contrast value.
        tmagContrastRedSpinButtontmagContrastGreenSpinButtontmagContrastBlueSpinButtonN(RSR(R2RRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs	cCs|ipdS|idi}|idi}|idi}|id}t||d}t||d}t||d}ti|||dS(skGets the RGB Contrast spin button values and live-updates
        the contrast level in gnome-mag.
        NRRRRi(RRSRdRR<R
RE(R2R>R?R@tcontrast((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR
s

cCs0t|id}||id<|idS(sqSignal handler for the "value_changed" signal for the
           magContrastRedSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           contrast Red spin button. Set the 'magContrastLevelRed'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iRBN(R<RdRR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagContrastRedValueChangeds
cCs0t|id}||id<|idS(swSignal handler for the "value_changed" signal for the
           magContrastGreenSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           contrast Green spin button. Set the 'magContrastLevelGreen'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iRCN(R<RdRR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagContrastGreenValueChanged,s
cCs0t|id}||id<|idS(stSignal handler for the "value_changed" signal for the
           magContrastBlueSpinButton GtkSpinButton widget.
           The user has changed the value of the magnification
           contrast Blue spin button. Set the 'magContrastLevelBlue'
           preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iRDN(R<RdRR(R2RR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagContrastBlueValueChanged;s
c	Cs|tijotd}n
|tijotd}n|tijotd}n|tijotd}n|tijotd}n|tijotd}nm|tijotd}nM|ti	jotd}n-|ti
jotd	}n
td}|id
}tdtdtdtdtdtdtdtd	g}|i|||i
||}|i|ti}|idi||o|ioti|ndS(
sSet the active value for the color filtering mode combobox
           preference.

        Arguments:
        - mode: the color filtering mode.
        RsSaturate redsSaturate greens
Saturate bluesDesaturate redsDesaturate greensDesaturate bluesPositive hue shiftsNegative hue shifttmagColorFilteringComboBoxtmagColorFilteringHboxN(RtMAG_COLOR_FILTERING_MODE_NONERt%MAG_COLOR_FILTERING_MODE_SATURATE_REDt'MAG_COLOR_FILTERING_MODE_SATURATE_GREENt&MAG_COLOR_FILTERING_MODE_SATURATE_BLUEt'MAG_COLOR_FILTERING_MODE_DESATURATE_REDt)MAG_COLOR_FILTERING_MODE_DESATURATE_GREENt(MAG_COLOR_FILTERING_MODE_DESATURATE_BLUEt+MAG_COLOR_FILTERING_MODE_POSITIVE_HUE_SHIFTt+MAG_COLOR_FILTERING_MODE_NEGATIVE_HUE_SHIFTRSRR*RR
tisFilteringCapableR
RtsetZoomerColorFilter(R2R[t
filteringModeRRRXR:((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRJsF							
cCsa|i}|tdjo
ti}n
|tdjo
ti}n|tdjo
ti}n|tdjo
ti}n|tdjo
ti}n|tdjo
ti}nj|tdjo
ti	}nJ|tdjo
ti
}n*|td	jo
ti}n
ti}|iot
i|n||id
<dS(sYSignal handler for the "changed" signal for the
           magColorFilteringComboBox GtkComboBox widget. The user has
           selected a different magnification color filtering mode.
           Set the 'magColorFilteringMode' preference to the new value.

        Arguments:
        - widget: the component that generated the signal.
        RsSaturate redsSaturate greens
Saturate bluesDesaturate redsDesaturate greensDesaturate bluesPositive hue shiftsNegative hue shiftRN(RPRRRRRRRRRRRRR
RR(R2RRR[((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagColorFilteringChangeds.









	
cCs|i}|i}|o)|i|d}|ii|nv|ii}|i||d}|i}|o;|i|d}|p
||jo|i|qn||i	d<dS(s]Signal handler for the "changed" signal for the
           magSourceDisplayDisplayEntry GtkEntry widget.
           The user has changed the value of the magnification source
           display. Set the 'magSourceDisplay' preference
           to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iRN(
RRRdRRtget_textR*RcRR(R2RRRRRXt	firstItert
firstValue((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagSourceDisplayChangedscCs|i}|i}|o)|i|d}|ii|nv|ii}|i||d}|i}|o;|i|d}|p
||jo|i|qn||i	d<t
io|indS(sVSignal handler for the "changed" signal for the
           magTargetDisplayEntry GtkEntry widget.
           The user has changed the value of the magnification target
           display. Set the 'magTargetDisplay' preference
           to the new value.

        Arguments:
        - widget: the component that generated the signal.
        iRN(
RRRdRRRR*RcRRRNRYRk(R2RRRRRXRR((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagTargetDisplayChangeds

cCs|id|id<|id|id<|id|id<|id|id<|id|id<|id|id<|id|id<|id|id<|id	|id	<|id
|id
<dS(suRestores the previously saved values of the settings on the 
        magnification advanced settings dialog.
        RR9R:R;RBRCRDRRRN(RR(R2((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytrestoreAdvancedSettings8scCsh|_|d|id<|d|id<|d|id<|d|id<|d|id<|d|id<|d|id<|d|id<|d	|id	<|d
|id
<dS(sSave the current values of the settings on the magnification
        advanced settings dialog.

        Arguments:
        - prefsDict: the preferences dictionary containing the current state.
        RR9R:R;RBRCRDRRRN(R(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRGRs	cCs||i|i|i|id|i|id|i}t|_|i|i||_t	i
idS(sSignal handler for the "clicked" signal for the
           magAdvancedCancelButton GtkButton widget. The user has clicked
           the Cancel button. We restore the preferences for the settings
           on the Advanced Settings dialog, back to what they we when it
           was initially displayed and hide it.

        Arguments:
        - widget: the component that generated the signal.
        RRN(RRRRRRRbRRRNRHR(R2RRH((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagAdvancedCancelButtonClickedps

		

	cCstiidS(szSignal handler for the "clicked" signal for the magAdvancedOKButton
           GtkButton widget. The user has clicked the OK button.  We don't
           want to write out any preferences until the main window's apply
           or OK button has been clicked. Just hide the advanced window.

        Arguments:
        - widget: the component that generated the signal.
        N(RNRHR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagAdvancedOkButtonClickeds
cCsH|ittid|it_tiitiit_dS(sSignal handler for the "destroyed" signal for the
        orcaMagAdvancedDialog GtkWindow widget. Instead of destroying
        the dialog, rebuild it, reinitialize it and hide it.

        Arguments:
        - widget: the component that generated the signal.
        RN(	RRRNtprefsUIFileRRORRRH(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagAdvancedDialogDestroyeds
	
	
cCsttitiotiidjo||i|i|i|i	d|i
|i	d|i}t|_|i
|i||_tiiqntS(sBSignal handler for the "key_press" signal for the
        orcaMagAdvancedDialog GtkWindow widget. If the user has pressed the
        Escape key, then just hide the window.

        Arguments:
        - widget: the component that generated the signal.
        - event: the event for the key that the user pressed.
        R\RR(R{RNtlastInputEventRt
KeyboardEventRaRRRRRRRbRRRHR(R2RReRH((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytmagAdvancedDialogKeyPresseds


		

	N(RRRR
RRRRRRRRRRRRRRRRRRRRGRRRR(((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyR
s2		I	 		
					
					`	V							tWarningDialogGUIcBs#eZdZdZdZRS(cCs|iS(s@Return a handle to the Orca Preferences warning dialog.
        (torcaPrefsWarningDialog(R2((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytgetPrefsWarningDialogscCs
dt_dS(s`Signal handler for the "destroyed" signal for the 
        orcaPrefsWarningDialog GtkWindow widget. Reset orca_state.orcaWD
        to None, so that the GUI can be rebuilt from the GtkBuilder file the
        next time that this warning dialog has to be displayed.

        Arguments:
        - widget: the component that generated the signal.
        N(RRNtorcaWD(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytorcaPrefsWarningDialogDestroyeds
cCs|iidS(sSignal handler for the "clicked" signal for the
        orcaPrefsWarningDialogOKButton GtkButton widget. The user has clicked
        the OK button in the Orca Application Preferences warning dialog.
        This dialog informs the user that they already have an instance
        of an Orca preferences dialog open, and that they will need to 
        close it before opening a new one.

        Arguments:
        - widget: the component that generated the signal.
        N(RR(R2R((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt%orcaPrefsWarningDialogOKButtonClickeds(RRRRR(((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs		cCstiotiotd}ti|ti|ti	}t
iit
it
it
iddt_t
iit
it
it
iddt_ttid|t_tiitiit_ttid|t_tiinutipft
iit
it
it
iddt_ttidt_tii}|i|indStiidS(	NsStarting Orca Preferences.tuis
orca-setup.uisorca-advanced-magnification.uiRRGsorca-preferences-warning.uiR( RNRXRYRRtdisplayMessageRRRtreadPreferencesRRRtplatformtprefixtdatadirnametpackageRtadvancedMagUIFileRRORRRHRRtorcaWarningDialogUIFileRRRnRtRy(tlineRt
warningDialog((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pytshowPreferencesUIsF

	
	
	
cCs5titidttitiddS(NRi(tlocalet	setlocaletLC_ALLRRTtmaintsystexit(((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyRs
t__main__(Dt__doc__t__id__t__version__t__date__t
__copyright__t__license__RRRRTRVR[RRNR
RRRRNRRRRRR7RRRRRtImportErrorRt	orca_i18nRRRR^ReRgRhRiRjRkRpRrRsRtRuRvRwRzRqRRRRR1R3RRRR	RRRRRR(((s7/usr/lib/python2.6/site-packages/orca/orca_gui_prefs.pyt<module>s~<"	1	


Youez - 2016 - github.com/yon3zu
LinuXploit