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_prefs.pyc
z#Jc@sdZdZdZdZdZdZddkZddkZddkZe	d\Z
ZZZ
ZZZZZZZZZZZZe	d	\ZZd
fdYZdZeed
ZdS(sDCommon utilities to manage the writing of the user preferences file.s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2008 Sun Microsystems Inc.tLGPLiNiit	OrcaPrefscBseZd)d)dZdZdZdZdZdZdZ	dZ
dZd	Zd
Z
dZdZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"d Z#d!Z$d"Z%d#Z&d$Z'd%Z(d&Z)d'Z*d(Z+RS(*cCs||_||_||_dS(sCreates a new OrcaPrefs instance that will be used to write out
        application specific preferences.

        Arguments:
        - prefsDict: a dictionary where the keys are orca preferences
          names and the values are the values for the preferences.
        - keyBindingsTreeModel - key bindings tree model, or None if we are
          writing out console preferences.
        - pronunciationTreeModel - pronunciation dictionary tree model, or
          None if we are writing out console preferences.
        N(t	prefsDicttkeyBindingsTreeModeltpronunciationTreeModel(tselfRRR((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt__init__+s		cCs,yti|Wnti|nXdS(sACreates the given directory if it doesn't already exist.
        N(tostchdirtmkdir(Rtdirname((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt
_createDir=scCs3|id|id|id|id|id|id|id|id|id	|id
|id|id|id	|id
|id|id|id|id|id|id|id|id|id	|id|id|id|id|id|id|id	|id|id|id	|id|id|id |id	|id!|id"|id#|id$|id%|id	d&S('s1Writes the preamble to the user-settings.py file.s# -*- coding: utf-8 -*-
s*# user-settings.py - custom Orca settings
s/# Generated by orca.  DO NOT EDIT THIS FILE!!!
s5# If you want permanent customizations that will not
s/# be overwritten, edit orca-customizations.py.
s#
s
import re
simport time
s
simport orca.debug
simport orca.settings
simport orca.acss
s.#orca.debug.debugLevel = orca.debug.LEVEL_OFF
s0orca.debug.debugLevel = orca.debug.LEVEL_SEVERE
s2#orca.debug.debugLevel = orca.debug.LEVEL_WARNING
s/#orca.debug.debugLevel = orca.debug.LEVEL_INFO
s8#orca.debug.debugLevel = orca.debug.LEVEL_CONFIGURATION
s/#orca.debug.debugLevel = orca.debug.LEVEL_FINE
s0#orca.debug.debugLevel = orca.debug.LEVEL_FINER
s1#orca.debug.debugLevel = orca.debug.LEVEL_FINEST
s.#orca.debug.debugLevel = orca.debug.LEVEL_ALL
s3#orca.debug.eventDebugLevel = orca.debug.LEVEL_OFF
s$#orca.debug.eventDebugFilter = None
sC#orca.debug.eventDebugFilter = re.compile('[\S]*focus|[\S]*activ')
s5#orca.debug.eventDebugFilter = re.compile('nomatch')
sC#orca.debug.eventDebugFilter = re.compile('[\S]*:accessible-name')
sF#orca.debug.eventDebugFilter = re.compile('[\S]*:(?!bounds-changed)')
sS#orca.debug.debugFile = open(time.strftime('debug-%Y-%m-%d-%H:%M:%S.out'), 'w', 0)
s2#orca.debug.debugFile = open('debug.out', 'w', 0)
s##orca.settings.useBonoboMain=False
s$#orca.settings.debugEventQueue=True
s#orca.settings.gilSleepTime=0
s
if False:
s    import sys
s    import orca.debug
s%    sys.settrace(orca.debug.traceit)
s1    orca.debug.debugLevel = orca.debug.LEVEL_ALL
N(t
writelines(Rtprefs((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writePreferencesPreambleFs\






































cCsl|id|id|id|id|id|id|id|idd	S(
s2Writes the postamble to the user-settings.py file.s
import orca.orca_state
s
try:
s/    reload(orca.orca_state.orcaCustomizations)
sexcept AttributeError:
s	    try:
sO        orca.orca_state.orcaCustomizations = __import__("orca-customizations")
s    except ImportError:
s
        pass
N(R(RR
((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writePreferencesPostambles






cCs)ti}|ptitn|S(sEnables the GNOME accessibility flag.  Users need to log out and
        then back in for this to take effect.

        Returns True if an action was taken (i.e., accessibility was not
        set prior to this call).
        (tsettingstisAccessibilityEnabledtsetAccessibilityEnabledtTrue(RtalreadyEnabled((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_enableAccessibilityscCs|pdSd|SdS(sReturns a string that represents the source or target 
        magnifier display.

        Arguments:
        - display: the magnifier source or taget display string.

        Returns a string suitable for the preferences file.
        s''s'%s'N((Rtdisplay((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getDisplayStrings
cCs4|pdSt|to	d|Sd|iSdS(sReturns a string that represents the speech server factory passed in.

        Arguments:
        - factory: the speech server factory

        Returns a string suitable for the preferences file.
        s'%s'N(tNonet
isinstancet
basestringt__name__(Rtfactory((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getSpeechServerFactoryStrings
		cCs>|pdSt|giot|St|iSdS(sReturns a string that represents the speech server passed in.

        Arguments:
        - server: a speech server

        Returns a string suitable for the preferences file.
        N(RRt	__class__treprtgetInfo(Rtserver((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getSpeechServerStrings
cCsNd}x7|D]/}|d|7}|ti||d7}q
W|d7}|S(sReturns a string that represents the list of voices passed in.

        Arguments:
        - voices: a list of ACSS instances.

        Returns a string suitable for the preferences file.
        s{
s'%s' : orca.acss.ACSS(s),
t}(tpprinttpformat(Rtvoicest	voicesStrtvoice((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getVoicesStrings	
cCs|tijodSdSdS(s?Returns a string that represents the keyboard layout passed in.s-orca.settings.GENERAL_KEYBOARD_LAYOUT_DESKTOPs,orca.settings.GENERAL_KEYBOARD_LAYOUT_LAPTOPN(RtGENERAL_KEYBOARD_LAYOUT_DESKTOP(RtkeyboardLayout((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getKeyboardLayoutStringscCs|tijodSdSdS(sBReturns a string that represents the Orca modifier keys passed in.s#orca.settings.DESKTOP_MODIFIER_KEYSs"orca.settings.LAPTOP_MODIFIER_KEYSN(RtDESKTOP_MODIFIER_KEYS(RtorcaModifierKeys((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getOrcaModifierKeysStringscCsd|dS(sa Returns a string that represents the enabled spoken text attributes 
        passed in.
        s"((RtenabledSpokenTextAttributes((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getSpokenTextAttributesStringscCsd|dS(sc Returns a string that represents the enabled brailled text 
        attributes passed in.
        s"((RtenabledBrailledTextAttributes((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt _getBrailledTextAttributesStringscCs\|tijodS|tijodS|tijodS|tijodSdSdS(s^Returns a string that represents the text attribute braille indicator
        value passed in.s$orca.settings.TEXT_ATTR_BRAILLE_NONEs!orca.settings.TEXT_ATTR_BRAILLE_7s!orca.settings.TEXT_ATTR_BRAILLE_8s$orca.settings.TEXT_ATTR_BRAILLE_BOTHN(RtTEXT_ATTR_BRAILLE_NONEtTEXT_ATTR_BRAILLE_7tTEXT_ATTR_BRAILLE_8tTEXT_ATTR_BRAILLE_BOTH(RtbrailleIndicator((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt(_getTextAttributesBrailleIndicatorStringscCs\|tijodS|tijodS|tijodS|tijodSdSdS(sYReturns a string that represents the braille selection indicator
        value passed in.sorca.settings.BRAILLE_SEL_NONEsorca.settings.BRAILLE_SEL_7sorca.settings.BRAILLE_SEL_8sorca.settings.BRAILLE_SEL_BOTHN(RtBRAILLE_SEL_NONEt
BRAILLE_SEL_7t
BRAILLE_SEL_8tBRAILLE_SEL_BOTH(RtselectionIndicator((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt#_getBrailleSelectionIndicatorString
scCs\|tijodS|tijodS|tijodS|tijodSdSdS(sTReturns a string that represents the braille link indicator
        value passed in.sorca.settings.BRAILLE_LINK_NONEsorca.settings.BRAILLE_LINK_7sorca.settings.BRAILLE_LINK_8sorca.settings.BRAILLE_LINK_BOTHN(RtBRAILLE_LINK_NONEtBRAILLE_LINK_7tBRAILLE_LINK_8tBRAILLE_LINK_BOTH(Rt
linkIndicator((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getBrailleLinkIndicatorStringscCs2|tijodS|tijodSdSdS(s?Returns a string that represents the verbosity level passed in.s#orca.settings.VERBOSITY_LEVEL_BRIEFs%orca.settings.VERBOSITY_LEVEL_VERBOSEN(RtVERBOSITY_LEVEL_BRIEFtVERBOSITY_LEVEL_VERBOSE(RtverbosityLevel((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getVerbosityString(s
cCs2|tijodS|tijodSdSdS(s>Returns a string that represents the rolename style passed in.s*orca.settings.BRAILLE_ROLENAME_STYLE_SHORTs)orca.settings.BRAILLE_ROLENAME_STYLE_LONGN(RtBRAILLE_ROLENAME_STYLE_SHORTtBRAILLE_ROLENAME_STYLE_LONG(Rt
rolenameStyle((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getBrailleRolenameStyleString2s
cCs2|tijodS|tijodSdSdS(sNReturns a string that represents the brailleAlignmentStyle
         passed in.s#orca.settings.ALIGN_BRAILLE_BY_WORDs%orca.settings.ALIGN_BRAILLE_BY_MARGINs#orca.settings.ALIGN_BRAILLE_BY_EDGEN(RtALIGN_BRAILLE_BY_WORDtALIGN_BRAILLE_BY_MARGIN(RtbrailleAlignmentStyle((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getBrailleAlignmentStyleString<s
cCs\|tijodS|tijodS|tijodS|tijodSdSdS(sAReturns a string that represents the punctuation style passed in.s$orca.settings.PUNCTUATION_STYLE_NONEs$orca.settings.PUNCTUATION_STYLE_SOMEs$orca.settings.PUNCTUATION_STYLE_MOSTs#orca.settings.PUNCTUATION_STYLE_ALLN(RtPUNCTUATION_STYLE_NONEtPUNCTUATION_STYLE_SOMEtPUNCTUATION_STYLE_MOSTtPUNCTUATION_STYLE_ALL(RtpunctuationStyle((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt#_getVerbalizePunctuationStyleStringGscCs.|tijodS|tijodSdS(s=Returns a string that represents the say all style passed in.sorca.settings.SAYALL_STYLE_LINEs#orca.settings.SAYALL_STYLE_SENTENCEN(RtSAYALL_STYLE_LINEtSAYALL_STYLE_SENTENCE(RtsayAllStyle((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getSayAllStyleStringUscCsd|}|S(sReturns a string that represents the magnification object's color
        passed in.

        Arguments:
        - cursorColor: magnification object's color

        Returns a string suitable for the preferences file.
        s'%s'((RtcursorColortcursorColorStr((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getMagColorString]s

cCs2|tijodS|tijodSdSdS(sReturns a string that represents the magnification smoothing mode
        passed in.

        Arguments:
        - smoothingMode: magnification smoothing mode.

        Returns a string suitable for the preferences file.
        s)orca.settings.MAG_SMOOTHING_MODE_BILINEARs%orca.settings.MAG_SMOOTHING_MODE_NONEN(RtMAG_SMOOTHING_MODE_BILINEARtMAG_SMOOTHING_MODE_NONE(Rt
smoothingMode((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getMagSmoothingModeStringks

cCs\|tijodS|tijodS|tijodS|tijodSdSdS(sReturns a string that represents the magnification mouse tracking
        mode passed in.

        Arguments:
        - mouseTrackingMode: magnification mouse tracking mode.

        Returns a string suitable for the preferences file.
        s(orca.settings.MAG_TRACKING_MODE_CENTEREDs$orca.settings.MAG_TRACKING_MODE_NONEs,orca.settings.MAG_TRACKING_MODE_PROPORTIONALs$orca.settings.MAG_TRACKING_MODE_PUSHN(RtMAG_TRACKING_MODE_CENTEREDtMAG_TRACKING_MODE_NONEtMAG_TRACKING_MODE_PROPORTIONALtMAG_TRACKING_MODE_PUSH(RtmouseTrackingMode((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getMagMouseTrackingModeString|s
cCsG|tijodS|tijodS|tijodSdSdS(s5Returns a string that represents the magnification control
        and menu item tracking mode passed in.

        Arguments:
        - controlTrackingMode: magnification control and menu item tracking 
                               mode.

        Returns a string suitable for the preferences file.
        s(orca.settings.MAG_TRACKING_MODE_CENTEREDs$orca.settings.MAG_TRACKING_MODE_NONEs$orca.settings.MAG_TRACKING_MODE_PUSHN(RRcRdRf(RtcontrolTrackingMode((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt _getMagControlTrackingModeStringscCsG|tijodS|tijodS|tijodSdSdS(sReturns a string that represents the magnification text cursor
        tracking mode passed in.

        Arguments:
        - textTrackingMode: magnification text cursor tracking mode.

        Returns a string suitable for the preferences file.
        s(orca.settings.MAG_TRACKING_MODE_CENTEREDs$orca.settings.MAG_TRACKING_MODE_NONEs$orca.settings.MAG_TRACKING_MODE_PUSHN(RRcRdRf(RttextTrackingMode((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getMagTextTrackingModeStrings
cCs|tijodS|tijodS|tijodS|tijodS|tijodS|tijodS|tijodS|tijodS|ti	jod	SdSd
S(sReturns a string that represents the magnification color filtering
        mode passed in.

        Arguments:
        - mode: magnification color filtering mode.

        Returns a string suitable for the preferences file.
        s+orca.settings.MAG_COLOR_FILTERING_MODE_NONEs3orca.settings.MAG_COLOR_FILTERING_MODE_SATURATE_REDs5orca.settings.MAG_COLOR_FILTERING_MODE_SATURATE_GREENs4orca.settings.MAG_COLOR_FILTERING_MODE_SATURATE_BLUEs5orca.settings.MAG_COLOR_FILTERING_MODE_DESATURATE_REDs7orca.settings.MAG_COLOR_FILTERING_MODE_DESATURATE_GREENs6orca.settings.MAG_COLOR_FILTERING_MODE_DESATURATE_BLUEs9orca.settings.MAG_COLOR_FILTERING_MODE_POSITIVE_HUE_SHIFTs9orca.settings.MAG_COLOR_FILTERING_MODE_NEGATIVE_HUE_SHIFTN(
RtMAG_COLOR_FILTERING_MODE_NONEt%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_SHIFT(Rtmode((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getMagColorFilteringModeStrings&
cCs|tijodS|tijodS|tijodS|tijodS|tijodS|tijodSdSdS(sReturns a string that represents the magnification zoomer position
        type passed in.

        Arguments:
        - magZoomerType: magnification zoomer position type.

        Returns a string suitable for the preferences file.
        s)orca.settings.MAG_ZOOMER_TYPE_FULL_SCREENs&orca.settings.MAG_ZOOMER_TYPE_TOP_HALFs)orca.settings.MAG_ZOOMER_TYPE_BOTTOM_HALFs'orca.settings.MAG_ZOOMER_TYPE_LEFT_HALFs(orca.settings.MAG_ZOOMER_TYPE_RIGHT_HALFs$orca.settings.MAG_ZOOMER_TYPE_CUSTOMN(RtMAG_ZOOMER_TYPE_FULL_SCREENtMAG_ZOOMER_TYPE_TOP_HALFtMAG_ZOOMER_TYPE_BOTTOM_HALFtMAG_ZOOMER_TYPE_LEFT_HALFtMAG_ZOOMER_TYPE_RIGHT_HALFtMAG_ZOOMER_TYPE_CUSTOM(Rt
magZoomerType((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getMagZoomerTypeStrings
cCs2|tijodS|tijodSdSdS(sReturns a string that represents the progress bar verbosity level
        passed in.

        Arguments:
        - verbosityLevel: verbosity level for progress bars.

        Returns a string suitable for the preferences file.
        sorca.settings.PROGRESS_BAR_ALLs!orca.settings.PROGRESS_BAR_WINDOWs&orca.settings.PROGRESS_BAR_APPLICATIONN(RtPROGRESS_BAR_ALLtPROGRESS_BAR_WINDOW(RRH((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getProgressBarVerbosityStrings

cCs8|id|id|id|iddS(s@Writes the preamble to the user-settings.py keyBindings section.s
s%# Set up a user key-bindings profile
s#
s'def overrideKeyBindings(script, keyB):
N(R(RR
((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writeKeyBindingsPreambles


cCs|idt|td|tp|tp^|id|id|idti|id|idt|tdn|to|id|id	t|td
|tp|t	oB|idt|td|idt|t	dn|id|id|t
d
jo#|idt|tdq|idt|td|idt|t
dn|to|id|id	t|td
|tp|t
oB|idt|td|idt|t
dn"|idti|id|td
jo#|idt|tdq|idt|td|idt|tdndS(s6Writes a single keyBinding to the user-settings.py 
        keyBindings section.

        Arguments:
        - prefs: text string - file to write the key binding to.
        - tupl:    tuple     - a tuple with the values of the
                                 keybinding (gtk.TreeStore model columns)
        s3   keyB.removeByHandler(script.inputEventHandlers['s'])
s)   keyB.add(orca.keybindings.KeyBinding(
s
      '',
s
      %d,
s	      0,
s!      script.inputEventHandlers["s"]))

s      's',
s      s,
t1s"],
s))

N(RtstrtHANDLERtTEXT1tTEXT2RtdefaultModifierMasktKEY1t	MOD_MASK1t	MOD_USED1tCLICK_COUNT1tKEY2t	MOD_MASK2t	MOD_USED2tCLICK_COUNT2(RR
ttupl((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writeKeyBinding	sN




#


#
cCs8|id|id|id|iddS(sAWrites the postamble to the user-settings.py keyBindings section.s   return keyBs

s7orca.settings.overrideKeyBindings = overrideKeyBindingss
N(R(RR
((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writeKeyBindingsPostambleAs


cCs|i}x|djo|i|}x|djoq|i|ddddddddd	d
ddd
ddd}|to|i||n|i|}q.W|i|}qWdS(srIterate over all the key bindings in the tree model and write
        out all that the user has modified.
        iiiiiiiiii	i
iii
iiN(tget_iter_firstRt
iter_childrentgettMODIFRt	iter_next(RR
t	treeModeltthisItert	iterChildtvalues((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_iterateKeyBindingsJs

	6cCs.|i||i|||i|dS(sdWrite to configuration file 'prefs' the key bindings passed in the
        model treeModel.
        N(RRR(RR
R((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writeKeyBindingsMapZs
cCsE|id|id|id|id|iddS(sTWrites the preamble to the  ~/.orca/user-settings.py
        pronunciations section.s
s4# User customized pronunciation dictionary settings
s#
s import orca.pronunciation_dict

s.orca.pronunciation_dict.pronunciation_dict={}
N(R(RR
((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writePronunciationsPreamblecs


cCs-|idt|dt|ddS(sWrite out a single pronunciation entry to the 
        ~/.orca/user-setting.py settings file.

        Arguments:
        - prefs: file handle for user preferences.
        - word: the actual word to be pronunced.
        - value: the replacement string to use.
        s)orca.pronunciation_dict.setPronunciation(s, s)
N(RR(RR
twordtvalue((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writePronunciationns
cCs|i}xn|djo`|i|tt}|t}|t}|djo|i|||n|i|}qWdS(sIterate over each of the entries in the tree model and write out
        a pronunciation diction entry for them.  If any strings with an
        actual string of "" are found, they are ignored.
        tN(RRRtACTUALtREPLACEMENTRR(RR
RRRRR((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_iteratePronunciations{s



cCs!|i||i||dS(sWrite to configuration file 'prefs' the new pronunciation dictionary
        entries passed in the model treeModel.

        Arguments:
        - prefs: file handle for application preferences.
        - treeModel: pronunciation dictionary tree model.
        N(RR(RR
R((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_writePronunciationMaps	
cCsti}|i|tii|d}|i|tii|d}tii|p#titi|ti	dntii|d}|i|tii|d}tii|p#titi|ti	dndS(sMCreates the directories and standard files to hold user 
        preferences.sorca-scriptss__init__.pyisapp-settingsN(
RtuserPrefsDirRRtpathtjointexiststclosetopentO_CREAT(RtorcaDirt
orcaScriptDirtinitFiletorcaSettingsDir((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_setupPreferencesDirss	

#
cCsd!}||jo|djo|i||}q
|djo|i||}q
|djo|i||}q
|ido|i||}q
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djo|i	||}q
|d	jo|i
||}q
|d
jo|i||}q
|d"jo|i||}q
|djo|i
||}q
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djp
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djo|i||}q
|djod||}q
|djod||}q
|djod||}q
|d jod||}q
||}n|S(#sVReturn the value associated with this preferences dictionary key

        Arguments:
        - prefsDict: a dictionary where the keys are orca preferences
        names and the values are the values for the preferences.
        - key: the preferences dictionary key.

        Return the value of the given preferences dictionary key.
        R&tspeechServerInfotspeechServerFactorytVerbosityLeveltbrailleRolenameStyletbrailleSelectorIndicatortbrailleLinkIndicatorRPtverbalizePunctuationStyleRZtmagCursorColortmagCrossHairColortmagZoomerBorderColortmagSmoothingModetmagMouseTrackingModetmagControlTrackingModetmagTextTrackingModeR~tmagColorFilteringModetmagSourceDisplaytmagTargetDisplayR+R.R0R2ttextAttributesBrailleIndicatortprogressBarVerbositytbrailleContractionTables'%s'tbrailleEOLIndicatortbrailleRequiredStateStringtspeechRequiredStateStringN(RRR(RR)R"RtendswithRIRMR?RERQRWR[R^RbRhRjRlRRwRR,R/R1R3R9R(RRtkeyR((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt_getValueForKeys~


























cCs|iti}ttii|dd}|i|xNtiD]C}|i	|i
|}|djo|id||fqHqHW|i
o|i||i
n|io|i||in|i||i|iS(s0Creates the directory and files to hold user preferences.  Note
        that callers of this method may want to consider using an ordered
        dictionary so that the keys are output in a deterministic order.

        Returns True if accessibility was enabled as a result of this
        call.
        suser-settings.pytwsorca.settings.%s = %s
N(RRRRRRRRtuserCustomizableSettingsRRRRRRRRRRR(RRR
RR((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pytwritePreferencess 	
	






N(,Rt
__module__RRRRRRRRR"R)R,R/R1R3R9R?RERIRMRQRWR[R^RbRhRjRlRwRRRRRRRRRRRRRR(((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyR)sT			=	
													
	
													8							
				McCs?h}x2tiD]'}ytt|||<WqqXqW|S(s^Returns a dictionary containing the names and values of the
    customizable features of Orca.(RRtgetattr(RR((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pytreadPreferences"s
cCst|||}|iS(sCreates the directory and files to hold application specific
    user preferences.  Write out any preferences that are different
    from the generic Orca preferences for this user. Note that callers
    of this method may want to consider using an ordered dictionary so
    that the keys are output in a deterministic order.

    Arguments:
    - prefsDict: a dictionary where the keys are orca preferences
    names and the values are the values for the preferences.
    - keyBindingsTreeModel - key bindings tree model, or None if we are
    writing out console preferences.
    - pronunciationTreeModel - pronunciation dictionary tree model, or
    None if we are writing out console preferences.

    Returns True if the user needs to log out for accessibility settings
    to take effect.
    (RR(RRRt	orcaPrefs((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyR/s	( t__doc__t__id__t__version__t__date__t
__copyright__t__license__RR$RtrangeRtDESCRIPRRRRtOLDTEXT1RRRRRtOLDTEXT2RRtEDITABLERRRRRR(((s3/usr/lib/python2.6/site-packages/orca/orca_prefs.pyt<module>s <	


Youez - 2016 - github.com/yon3zu
LinuXploit