__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

���g�l�	�h�SrSrSrSrSrSrSSKrSSKrSSKJ	r	J
r
 S	S
KJr S	SKJ
r
 S	SKJr S	S
KJr S	SKJr S	SKJr S	SKJr \	R,R/\	R0R2\	R4R6SSSSS5r"SS5r\"5rSr g!\a SrNf=f)zSettings backend manager.z$Id$z
$Revision$z$Date$z2Copyright (c) 2010 Consorcio Fernando de los Rios.�LGPL�N)�Gio�GLib�)�debug)�	orca_i18n)�settings)�pronunciation_dict)�ACSS)�AXObject)�
KeyBindingzorg.a11y.Busz
/org/a11y/buszorg.freedesktop.DBus.Propertiesc�N�\rSrSrSrSrSrS0SjrSrS04Sjr	Sr
S	rS
rSr
SrS
rSrSrSrSrS1SjrSrS2SjrSrSrSrSrSrS2SjrSrS3SjrSrSr Sr!S1S jr"S1S!jr#S1S"jr$S#r%S$r&S%r'S&r(S'r)S(r*S)r+S4S*jr,S+r-S,r.S4S-jr/S.r0S/r1g)5�SettingsManager�7zSettings backend managerNc�v�S[U5;a[R"U/UQ70UD6UlUR$)N�
__instance)�vars�object�__new__�_SettingsManager__instance)�cls�args�kwargss   �7/usr/lib/python3/dist-packages/orca/settings_manager.pyr�SettingsManager.__new__<s2���t�C�y�(�#�^�^�C�A�$�A�&�A�C�N��~�~��c��[R"[RSS5 SUlSUlSUlXlSUl0Ul0Ul	0Ul
0Ul0Ul0Ul
0Ul0Ul0Ul0UlSUl0Ul0Ul0UlUR-5(d[/S5e0UlSUlS/Ul[R"[RSS5 g)	z�Initialize a SettingsManager Object.
If backend isn't defined then uses default backend, in this
case json-backend.
backend parameter can use the follow values:
backend='json'
zSETTINGS MANAGER: InitializingTN�z%SettingsManager._load_backend failed.F�app-settingszSETTINGS MANAGER: Initialized)r�
print_message�
LEVEL_INFO�backend_module�_backend�profile�backend_name�
_prefs_dir�default_general�default_pronunciations�default_keybindings�profile_general�profile_pronunciations�profile_keybindings�general�pronunciations�keybindings�_runtime_settings�_active_app�_app_general�_appPronunciations�_appKeybindings�
_load_backend�	Exception�customized_settings�_customization_completed�settingsPackages��self�backends  r�__init__�SettingsManager.__init__As��	���E�,�,�.N�PT�U�"�����
����#�����
 "���&(��#�#%�� �
 "���&(��#�#%�� �
��� ������!#���������"$���!����!�!�#�#��C�D�D�#%�� �(-��%�"0� 0���
���E�,�,�.M�t�Trc��0nURR5HSup#X0RRU5:wdM%X R;dM6URRU5X'MU UR
R5HBup#X0RRU5:wdM%URRU5X'MD U$)z9Returns overridden settings for the purpose of debugging.)r'�itemsr-�getr7r2)r;�changed�key�values    r�%get_overridden_settings_for_debugging�5SettingsManager.get_overridden_settings_for_debuggingxs������.�.�4�4�6�J�C����(�(��-�-�#�=U�=U�2U�#�|�|�/�/��4���7��+�+�1�1�3�J�C����(�(��-�-�#�|�|�/�/��4���4��rc���[R"[RSS5 URR	U5 U=(d3 [
RR[R"5S5Ul
URRUR5Ul
UR5 UR5 UR!5 UR"R%5UlUR)5(d3UR&R	URR+55 UR,R%5UlUR0R%5UlUR55 [R"[RSS5 SUR6/n[R8"[RUS5 UR6cWUR&R;S5SUlS	UR6/n[R8"[RUS5 UR=UR65 g)
zActivates this manager.zSETTINGS MANAGER: ActivatingT�orcazSETTINGS MANAGER: Activatedz$SETTINGS MANAGER: Current profile isN�startingProfilerz(SETTINGS MANAGER: Current profile is now)rr r!r7�update�os�path�joinr�get_user_data_dirr&r"�Backendr#�_set_default_general�_set_default_pronunciations�_set_default_keybindingsr'�copyr-�is_first_start�
getGeneralr(r.r)r/�_create_defaultsr$�print_tokensrA�set_profile)r;�prefsDir�customSettings�tokenss    r�activate�SettingsManager.activate�s���	���E�,�,�.L�d�S�� � �'�'��7�"�>��w�w�|�|�D�2�2�4�f�=�	
���+�+�3�3�D�O�O�D��
��!�!�#��(�(�*��%�%�'��+�+�0�0�2����"�"�$�$��L�L����
�
� 8� 8� :�;�"�9�9�>�>�@����3�3�8�8�:���	
����
���E�,�,�.K�T�R�9�$�,�,�G��
���5�+�+�V�T�:��<�<���<�<�+�+�,=�>�q�A�D�L�@�$�,�,�O�F����u�/�/���>�������&rc�~�SURS3n[R"US5Ulg![a gf=f)z(Loads backend for managing user settingsz
.backends.r#rHTF)r%�	importlib�
import_moduler"r6r:s  rr5�SettingsManager._load_backend�sF��	�"�4�#4�#4�"5�X�>�G�"+�"9�"9�'�6�"J�D�����	��	�s�,/�
<�<c��SnURnU"U5 [RRUS5nU"U5 [RRUS5n[RR	U5(d:[R
"[R"U[RS55 [RRUS5nU"U5 [RRUS5nU"U5 [RRUS5n[RR	U5(d:[R
"[R"U[RS55 [RRUS5n[RR	U5(d:[R
"[R"U[RS55 UR5(a<URRURURUR5 gg)	z?Creates the initial structure for storing the default settings.c�z�[RRU5(d[R"U5 gg�N)rKrL�isdir�makedirs)�dirNames r�_create_dir�5SettingsManager._create_defaults.<locals>._create_dir�s&���7�7�=�=��)�)����G�$�*rzorca-scriptsz__init__.pyi�r�soundszorca-customizations.pyN)r&rKrLrM�exists�close�open�O_CREATrTr#�saveDefaultSettingsr'r(r))r;rh�orca_dir�orca_script_dir�initFile�orcaSettingsDir�
orcaSoundsDir�userCustomFiles        rrV� SettingsManager._create_defaults�s���	%��?�?���H���'�'�,�,�x��@���O�$��7�7�<�<���?���w�w�~�~�h�'�'��H�H�R�W�W�X�r�z�z�5�9�:��'�'�,�,�x��@���O�$������X�x�8�
��M�"��7�7�<�<��-�8���w�w�~�~�h�'�'��H�H�R�W�W�X�r�z�z�5�9�:������h�0H�I���w�w�~�~�n�-�-��H�H�R�W�W�^�R�Z�Z��?�@���� � ��M�M�-�-�d�.B�.B�.2�.I�.I�.2�.F�.F�
H�!rc��0Ulg)z4Get the pronunciations by default from orca.settingsN)r(�r;s rrQ�+SettingsManager._set_default_pronunciations�s
��&(��#rc��0Ulg)z1Get the keybindings by default from orca.settingsN)r)rxs rrR�(SettingsManager._set_default_keybindings�s
��#%�� rc��UR5 0Ul[RH@nURRU5nUc[
[U5nX RU'MB g![a Nf=f)z6Get the general settings by default from orca.settingsN)�_get_customized_settingsr'r	�userCustomizableSettingsr7rA�getattrr6)r;rCrDs   rrP�$SettingsManager._set_default_general�sv���%�%�'�!����4�4�C��,�,�0�0��5�E��}��#�H�c�2�E�).� � ��%�5��
!����s�
A-�-
A:�9A:c�\�UR(aUR$0n[RR	5H	up#X1U'M UR5UlUR	5H9up#[RR
U5nX4:wdM+X@RU'M; grd)r8r7r	�__dict__r@�_load_user_customizationsrA)r;�originalSettingsrCrD�customValues     rr}�(SettingsManager._get_customized_settings�s����(�(��+�+�+���"�+�+�1�1�3�J�C�$)�S�!�4�)-�(F�(F�(H��%�*�0�0�2�J�C�"�+�+�/�/��4�K��#�0;�(�(��-�3rc�2�SnUR/nS/nUSS-n[RRSU5nUbQ[RR	U5nUR
R
U5 URSUS/5 S	nOURSUS
/5 [R"[RUS	5 U$![a URSUS/5 NH[a nS	nURSUS
/5 SnANlSnAff=f)z�Attempt to load the user's orca-customizations. Returns a boolean
indicating our success at doing so, where success is measured by the
likelihood that the results won't be different if we keep trying.Fz5SETTINGS MANAGER: Attempt to load orca-customizationsrz/orca-customizations.pyzorca-customizationsN�fromz
succeeded.Tzfailed. Spec not found.zfailed. File not found.zfailed due to:z. Not loading customizations.)
r&r_�util�spec_from_file_location�module_from_spec�loader�exec_module�extend�FileNotFoundErrorr6rrW�	LEVEL_ALL)r;�success�pathListr[�module_path�spec�module�errors        rr��)SettingsManager._load_user_customizationss
��
���O�O�$��I�J���q�k�$=�=��	V��>�>�9�9�:O�Q\�]�D���"���8�8��>�����'�'��/��
�
�v�{�L�A�B����
�
�v�{�4M�N�O�	���5�?�?�F�D�9����!�	L��M�M�6�;�0I�J�K��	V��G��M�M�+�U�4S�T�U�U��	V�s$�A3C
�C
�
D�-	D�6D�Dc��UR$rd)r&rxs r�
get_prefs_dir�SettingsManager.get_prefs_dir s�����rc�D�X RU'URX05 g)z#Updates the named setting to value.N)r0�_set_settings_runtime)r;�namerDs   r�set_setting�SettingsManager.set_setting#s"��(-���t�$��"�"�D�<�0rc�$�[[US5$rd)rr	)r;�settingNames  r�get_setting�SettingsManager.get_setting)s���x��d�3�3rc��URS5n[URU055nUR5nUR	5nU(a-[[
U55S:XaUSUR53nU$)N�voices��_)r�rrA�	getLocale�
getDialect�len�str�upper)r;�voicer��v�lang�dialects      r�get_voice_locale� SettingsManager.get_voice_locale,sl���!�!�(�+������E�2�&�'���{�{�}���,�,�.���s�3�w�<�(�A�-��V�1�W�]�]�_�-�.�D��rc�Z�/nURS5HXn[R"SU35nURU5 SU/n[R
"[RUS5 MZ U$![a. SU/n[R
"[RUS5 M�f=f)z/Imports all known SpeechServer factory modules.�speechFactoryModuleszorca.z.SETTINGS MANAGER: Valid speech server factory:Tz0SETTINGS MANAGER: Invalid speech server factory:)r�r_r`�appendrrWr!r6)r;�	factories�module_namer�r[s     r�get_speech_server_factories�+SettingsManager.get_speech_server_factories5s����	��+�+�,B�C�K�
C�"�0�0�5��
�1F�G��� � ��(�J�K�X���"�"�5�#3�#3�V�T�B�D����	�
C�L�k�Z���"�"�5�#3�#3�V�T�B�
C�s�AA2�24B*�)B*c��SUS/n[R"[RUS5 UcURnUR	U5=(d 0UlUR
U5=(d 0UlURU5=(d 0Ul	SUS/n[R"[RUS5 g)z�Get from the active backend all the settings for the current
profile and store them in the object's attributes.
A profile can be passed as a parameter. This could be useful for
change from one profile to another.z&SETTINGS MANAGER: Loading settings forr$TN�SETTINGS MANAGER: Settings forzprofile loaded)
rrWr!r$�get_general_settingsr*�get_pronunciationsr+�get_keybindingsr,)r;r$r[s   r�_load_profile_settings�&SettingsManager._load_profile_settingsEs���;�G�Y�O��
���5�+�+�V�T�:��?��l�l�G�#�8�8��A�G�R���&*�&=�&=�g�&F�&L�"��#�#'�#7�#7��#@�#F�B�� �2�G�=M�N��
���5�+�+�V�T�:rc�`�Sn[R"[RUS5 URR	UR
5 URR	UR5 URR	UR5 URR	UR5 URR	UR5 URR	UR5 Sn[R"[RUS5 g)zVUpdate the changed values on the profile settings
over the current and active settingsz#SETTINGS MANAGER: Merging settings.Tz"SETTINGS MANAGER: Settings merged.N)
rr r!r*rJr2r+r3r,r4r-r.r/)r;�msgs  r�_merge_settings�SettingsManager._merge_settingsWs���4��
���E�,�,�c�4�8����#�#�D�$5�$5�6��#�#�*�*�4�+B�+B�C�� � �'�'��(<�(<�=������D�0�0�1����"�"�4�#>�#>�?������� 8� 8�9�2��
���E�,�,�c�4�8rc�`�UR5nU(dURS5 U(+$)z�Enables 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).
T)�is_accessibility_enabled�set_accessibility)r;�alreadyEnableds  r�_enable_accessibility�%SettingsManager._enable_accessibilityis,���6�6�8����"�"�4�(�!�!�!rc��Sn[R"[RUS5 Sn[(dSnUS-
nO%[R	SSS5nU[U5-
n[R"[RUS5 U$)	Nz7SETTINGS MANAGER: Checking if accessibility is enabled.Tz)SETTINGS MANAGER: Accessibility enabled: F�Error (no proxy)�(ss)�org.a11y.Status�	IsEnabled)rr r!�_PROXY�Getr��r;r��rvs   rr��(SettingsManager.is_accessibility_enabledwsv��G��
���E�,�,�c�4�8�9���v��B��%�%�C����F�$5�{�C�B��3�r�7�N�C�
���E�,�,�c�4�8��	rc�z�SUS3n[R"[RUS5 [(d)Sn[R"[RUS5 g[R
"SU5n[R
SSS	U5 S
US3n[R"[RUS5 g)Nz5SETTINGS MANAGER: Attempting to set accessibility to �.Tz"SETTINGS MANAGER: Error (no proxy)F�bz(ssv)r�r�z4SETTINGS MANAGER: Finished setting accessibility to )rr r!r�r�Variant�Set)r;�enabler��vEnables    rr��!SettingsManager.set_accessibility�s���E�f�X�Q�O��
���E�,�,�c�4�8��v�6�C����� 0� 0�#�t�<���,�,�s�F�+���
�
�7�-�{�G�D�D�V�H�A�N��
���E�,�,�c�4�8rc���Sn[(dSnUS-
nO%[RSSS5nU[U5-
n[R"[R
US5 U$)z�Returns True if the screen reader service is enabled. Note that
this does not necessarily mean that Orca (or any other screen reader)
is running at the moment.z4SETTINGS MANAGER: Is screen reader service enabled? Fr�r�r��ScreenReaderEnabledT)r�r�r�rr r!r�s   r� is_screen_reader_service_enabled�0SettingsManager.is_screen_reader_service_enabled�s]��
E���v��B��%�%�C����F�$5�7L�M�B��3�r�7�N�C�
���E�,�,�c�4�8��	rc�b�Uc[RnURRSU5 g)NrI)r	r$r#�_setProfileKey�r;r$s  r�set_starting_profile�$SettingsManager.set_starting_profile�s'���?��&�&�G��
�
�$�$�%6��@rc��UR$rd)r$rxs r�get_profile�SettingsManager.get_profile�s���|�|�rc��SU/n[R"[RUS5 URS5nXlURU5 UR
5 URUR5 U(dgURS5nXE:waB[R"U5 [R"U5 [R"U5 SU/n[R"[RUS5 g)z�Set a specific profile as the active one.
Also the settings from that profile will be loading
and updated the current settings with them.z%SETTINGS MANAGER: Setting profile to:T�defaultNz!SETTINGS MANAGER: Profile set to:)
rrWr!r�r$r�r�r�r-r�setLocaleForNames�setLocaleForMessages�setLocaleForGUI)r;r$�updateLocaler[�oldVoiceLocale�newVoiceLocales      rrX�SettingsManager.set_profile�s���
:�7�C��
���5�+�+�V�T�:��.�.�y�9�����#�#�G�,������"�"�4�<�<�0����.�.�y�9���+��'�'��7��*�*�>�:��%�%�n�5�5�w�?��
���5�+�+�V�T�:rc�:�URRU5 grd)r#�remove_profiler�s  rr��SettingsManager.remove_profile�s���
�
�$�$�W�-rc��Sn[R"[RUS5 UR5Hup4[	[
[
U5U5 M! UR5 URR5Hup4[	[
[
U5U5 M! Sn[R"[RUS5 g)Nz+SETTINGS MANAGER: Setting runtime settings.Tz'SETTINGS MANAGER: Runtime settings set.)	rr r!r@�setattrr	r�r}r7)r;�settingsDictr�rCrDs     rr��%SettingsManager._set_settings_runtime�s���;��
���E�,�,�c�4�8�&�,�,�.�J�C��H�c�#�h��.�/��%�%�'��2�2�8�8�:�J�C��H�c�#�h��.�;�8��
���E�,�,�c�4�8rc��0[lUR5H-up#U(dMU(dM[R"X#5 M/ grd)r
�values�setPronunciation)r;�pronunciationsDictrCrDs    r�_set_pronunciations_runtime�+SettingsManager._set_pronunciations_runtime�s7��02��-�,�3�3�5�J�C��s�u�u�"�3�3�C�?�6rc�8�URRU5$)ztReturn the current general settings.
Those settings comes from updating the default settings
with the profiles' ones)r#rUr�s  rr��$SettingsManager.get_general_settings�s���}�}�'�'��0�0rc�8�URRU5$)z{Return the current pronunciations settings.
Those settings comes from updating the default settings
with the profiles' ones)r#r�r�s  rr��"SettingsManager.get_pronunciations�s���}�}�/�/��8�8rc�8�URRU5$)zxReturn the current keybindings settings.
Those settings comes from updating the default settings
with the profiles' ones)r#r�r�s  rr��SettingsManager.get_keybindings�s���}�}�,�,�W�5�5rc���Sn[R"[RUS5 0UlUR	5H�up4US;aM
US:XaX@RU'M#X@R
R
U5:waX@RU'MQURR
U5U:wdMrX@RU'M� Sn[R"[RUS5 g)zJSet the changed general settings from the defaults' ones
as the profile's.z6SETTINGS MANAGER: Setting general settings for profileT)rI�
activeProfiler$z2SETTINGS MANAGER: General settings for profile setN)rr r!r*r@r'rAr-)r;r-r�rCrDs     r�_set_profile_general�$SettingsManager._set_profile_general�s���G��
���E�,�,�c�4�8�!���!�-�-�/�J�C��:�:���	�!�,1�$�$�S�)��.�.�2�2�3�7�7�,1�$�$�S�)����!�!�#�&�%�/�,1�$�$�S�)�*�C��
���E�,�,�c�4�8rc��Sn[R"[RUS5 URR	5UlUR
R
U5 Sn[R"[RUS5 g)zQSet the changed pronunciations settings from the defaults' ones
as the profile's.z=SETTINGS MANAGER: Setting pronunciation settings for profile.Tz9SETTINGS MANAGER: Pronunciation settings for profile set.N)rr r!r(rSr+rJ)r;r.r�s   r�_set_profile_pronunciations�+SettingsManager._set_profile_pronunciationssj��N��
���E�,�,�c�4�8�&*�&A�&A�&F�&F�&H��#��#�#�*�*�>�:�I��
���E�,�,�c�4�8rc��Sn[R"[RUS5 URR	5UlUR
R
U5 Sn[R"[RUS5 g)zNSet the changed keybindings settings from the defaults' ones
as the profile's.z;SETTINGS MANAGER: Setting keybindings settings for profile.Tz7SETTINGS MANAGER: Keybindings settings for profile set.N)rr r!r)rSr,rJ)r;r/r�s   r�_set_profile_keybindings�(SettingsManager._set_profile_keybindingssj��L��
���E�,�,�c�4�8�#'�#;�#;�#@�#@�#B�� �� � �'�'��4�G��
���E�,�,�c�4�8rc�6�0nURUR5nUR5HupxX�RU5:wdMX�U'M! 0n	UR	UR5n
UR5HupxX�RU5:wdMX�U'M! 0nURUR5nUR5HupxX�RU5:wdMX�U'M! URRUURUU	U5 grd)r�r$r@rAr�r�r#�saveAppSettings)
r;�appNamer-r.r/�
appGeneralr*rCrD�appPronunciationsr+�appKeybindingsr,s
             r�_save_app_settings�"SettingsManager._save_app_settings s���
��3�3�D�L�L�A��!�-�-�/�J�C��+�+�C�0�0�"'�3��*���!%�!8�!8����!F��(�.�.�0�J�C��2�2�3�7�7�).�#�&�1���"�2�2�4�<�<�@��%�+�+�-�J�C��/�/��4�4�&+�s�#�.�	
�
�
�%�%�g�&*�l�l�&0�&7�&4�		6rc��UR$)z6Returns a dictionary with settings toggled at runtime.)r0rxs r�get_runtime_settings�$SettingsManager.get_runtime_settings9s���%�%�%rc�b�SUSURS/n[R"[RUS5 URnU(a(UR	[
R"U5X#U5 gURS[R5nUSnX�l	URSU5URS'URU5 URU5 URU5 S	UR/n[R"[RUS5 URRURUR UR"UR$5 S
USURS/n[R"[RUS5 UR'5$)z3Save the settings provided for the script provided.z%SETTINGS MANAGER: Saving settings forz(app:�)TNr$rrIz$SETTINGS MANAGER: Saving for backendr�z) saved)�apprrWr!rr�get_namerAr	r$r'rr
r
r#�saveProfileSettingsr*r+r,r�)	r;�scriptr-r.r/r[r�_profile�currentProfiles	         r�
save_settings�SettingsManager.save_settings>sk��:�6�7�F�J�J�X[�\��
���5�+�+�V�T�:��j�j����#�#�H�$5�$5�c�$:�G�U`�a���;�;�y�(�*:�*:�;��!�!���%��3:�+�+�>O�>F�3H����.�/�	
�!�!�'�*��(�(��8��%�%�k�2�8�$�-�-�H��
���5�+�+�V�T�:��
�
�)�)�$�,�,�*.�*>�*>�*.�*E�*E�*.�*B�*B�	D�
3�F�G�V�Z�Z�QZ�[��
���5�+�+�V�T�:��)�)�+�+rc�h�Uup#pEU(dSnU$U[U5[U5[U54nU$)zAConverts the values of bindingTuple into KeyBinding-ready values.)rrrr)�int)r;�bindingTuple�keysym�mask�mods�clickss      r�_adjust_binding_tuple_values�,SettingsManager._adjust_binding_tuple_valuesbs@��&2�"��d��(�L���#�C��I�s�4�y�#�f�+�F�L��rc���URnUR5GH�upVURU5nU(dM U(a�URU5(d-SUS/n[R
"[RUS5 MjURU5(d7SURS/n[R
"[RUS5 M�URU5n	Sn
U	H�nSU/n[R
"[RUS5 U
b<UR5U
:wa(Sn[R"[RUS5 UR5n
URUS5 M� UHfn
URU
5n
U
up�nn[X�UUUU
S9nURU5 SUSU
3/n[R
"[RUS5 Mh GM� U$)	NzSETTINGS MANAGER:z is not in the bindings provided.Tzis not enabled. Not overriding.z*SETTINGS MANAGER: Removing old binding forzESETTINGS MANAGER: Warning, different enabled values found for binding)�enabledzis rebound to )r,r@rA�has_handlerrrWr!�has_enabled_handler�function�get_bindings_for_handler�
is_enabledr �remover+r
�add)r;�handlers�bindings�enabled_only�keybindingsSettings�
handlerString�
bindingTuples�handlerr[�oldBindings�
wasEnabledr�r�r&r'r(r)r*�
newBindings                   r�override_key_bindings�%SettingsManager.override_key_bindingsms���#�6�6��,?�,E�,E�,G�(�M��l�l�=�1�G�����+�+�G�4�4�1�7�<^�_�F��&�&�u�'7�'7���F���3�3�G�<�<�1�7�3C�3C�?�A�F��&�&�u�'7�'7���F��"�;�;�G�D�K��J� ��F��J���"�"�5�#3�#3�V�T�B��)�a�l�l�n�
�.J�a�C��'�'��(8�(8�#�t�D��\�\�^�
�����4�(�!�!.��#�@�@��N��-9�*��d�F�'��d�G�V�U_�`�
����Z�(�-�w�.���8W�X���"�"�5�#3�#3�V�T�B�
!.�=-H�L�rc�6�URR5$)z,Check if the firstStart key is True or false)r#rTrxs rrT�SettingsManager.is_first_start�s���}�}�+�+�-�-rc�6�URR5$)z*Get available profiles from active backend)r#�available_profilesrxs rrE�"SettingsManager.available_profiles�s���}�}�/�/�1�1rc��U(dgURR[R"U55nUR	S05nUR	UR
05nUR	S05nUR	U5nUc=U(a6URR
UR
5nUR	U5nU$)z&Returns the specified setting for app.N�profilesr-)r#�get_app_settingsrrrAr$rU)	r;rr��fallbackOnDefault�appPrefsrH�profilePrefsr-�
appSettings	         r�get_app_setting�SettingsManager.get_app_setting�s������=�=�1�1�(�2C�2C�C�2H�I���<�<�
�B�/���|�|�D�L�L�"�5���"�"�9�b�1���[�[��-�
���"3��m�m�.�.�t�|�|�<�G� ���[�1�J��rc�
�U(aUR(dg0UlURR5HnURRU5 M  URR[R"UR55nURS05nURUR05nURS05UlURS05Ul
URS05Ul[R"UR5UlUR5 UR!5 UR#UR$5 UR'UR5 g)z8Load the users application specific settings for an app.NrHr-r/r.)rr0r3�keysr.�popr#rIrrrAr$r2r4r1r�r�r�r-r�)r;rrC�prefsrHrLs      r�load_app_settings�!SettingsManager.load_app_settings�s#���6�:�:��!#����*�*�/�/�1�C����#�#�C�(�2��
�
�.�.�x�/@�/@����/L�M���9�9�Z��,���|�|�D�L�L�"�5��(�,�,�Y��;���+�/�/�
�r�B���".�"2�"2�3C�R�"H���#�,�,�V�Z�Z�8����#�#�%������"�"�4�<�<�0��(�(��)<�)<�=r)r1r4r3r2r#r8r&r0r"r%r7r'r)r(r-r/r$r*r,r+r.r9)�json)r�rd)r�F)T)2�__name__�
__module__�__qualname__�__firstlineno__�__doc__�	_instancerr=rEr\r5rVrQrRrPr}r�r�r�r�r�r�r�r�r�r�r�r�r�r�rXr�r�r�r�r�r�rr
r
rrr"r+r@rTrErNrT�__static_attributes__�rrrr7s���"��I��
5U�n
�!%�R�%'�N�(H�T)�&�.�
<��:�1�4��� ;�$9�$"�
�
9��"A�
�;�4.�9�@�1�9�6�9�,9�9�6�2&�
",�H	�+�Z.�2�
�">rrc��[$)z'Returns the Settings Manager singleton.)�_managerr^rr�get_managerra�s���Or)!r[�__id__�__version__�__date__�
__copyright__�__license__r_rK�
gi.repositoryrrrrrr	r
�acssr�	ax_objectrr/r
�	DBusProxy�new_for_bus_sync�BusType�SESSION�DBusProxyFlags�NONEr�r6rr`rar^rr�<module>rps���, �������D�
����	�#���� ���#�
�
�]�]�
+�
+��������������)���F�T
>�T
>�l�����y��
�F��s�A	B&�&B1�0B1

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 276 B 0644
acss.cpython-313.pyc File 4.37 KB 0644
action_presenter.cpython-313.pyc File 12.53 KB 0644
ax_collection.cpython-313.pyc File 6.06 KB 0644
ax_component.cpython-313.pyc File 22.4 KB 0644
ax_document.cpython-313.pyc File 13.2 KB 0644
ax_event_synthesizer.cpython-313.pyc File 22.37 KB 0644
ax_hypertext.cpython-313.pyc File 11.3 KB 0644
ax_object.cpython-313.pyc File 63.85 KB 0644
ax_selection.cpython-313.pyc File 5.26 KB 0644
ax_table.cpython-313.pyc File 62.75 KB 0644
ax_text.cpython-313.pyc File 58.92 KB 0644
ax_utilities.cpython-313.pyc File 37.16 KB 0644
ax_utilities_application.cpython-313.pyc File 9.14 KB 0644
ax_utilities_collection.cpython-313.pyc File 125.47 KB 0644
ax_utilities_debugging.cpython-313.pyc File 15.44 KB 0644
ax_utilities_event.cpython-313.pyc File 41.86 KB 0644
ax_utilities_relation.cpython-313.pyc File 21.3 KB 0644
ax_utilities_role.cpython-313.pyc File 139.59 KB 0644
ax_utilities_state.cpython-313.pyc File 19.65 KB 0644
ax_value.cpython-313.pyc File 8.8 KB 0644
bookmarks.cpython-313.pyc File 16.09 KB 0644
braille.cpython-313.pyc File 82.01 KB 0644
braille_generator.cpython-313.pyc File 71.06 KB 0644
braille_rolenames.cpython-313.pyc File 8.73 KB 0644
brlmon.cpython-313.pyc File 9.02 KB 0644
brltablenames.cpython-313.pyc File 2.46 KB 0644
bypass_mode_manager.cpython-313.pyc File 5.79 KB 0644
caret_navigation.cpython-313.pyc File 22.86 KB 0644
chat.cpython-313.pyc File 33.96 KB 0644
clipboard.cpython-313.pyc File 27.81 KB 0644
cmdnames.cpython-313.pyc File 18.85 KB 0644
colornames.cpython-313.pyc File 11.83 KB 0644
debug.cpython-313.pyc File 4.76 KB 0644
debugging_tools_manager.cpython-313.pyc File 13.8 KB 0644
event_manager.cpython-313.pyc File 43.89 KB 0644
flat_review.cpython-313.pyc File 59.1 KB 0644
flat_review_finder.cpython-313.pyc File 29.77 KB 0644
flat_review_presenter.cpython-313.pyc File 59.01 KB 0644
focus_manager.cpython-313.pyc File 14.24 KB 0644
generator.cpython-313.pyc File 95.62 KB 0644
guilabels.cpython-313.pyc File 12.43 KB 0644
highlighter.cpython-313.pyc File 9.86 KB 0644
input_event.cpython-313.pyc File 45.78 KB 0644
input_event_manager.cpython-313.pyc File 48.43 KB 0644
keybindings.cpython-313.pyc File 27.27 KB 0644
keynames.cpython-313.pyc File 4.73 KB 0644
label_inference.cpython-313.pyc File 25.15 KB 0644
learn_mode_presenter.cpython-313.pyc File 19.89 KB 0644
liveregions.cpython-313.pyc File 31.34 KB 0644
mathsymbols.cpython-313.pyc File 64.53 KB 0644
messages.cpython-313.pyc File 41.8 KB 0644
mouse_review.cpython-313.pyc File 33.59 KB 0644
notification_presenter.cpython-313.pyc File 18.47 KB 0644
object_navigator.cpython-313.pyc File 15.8 KB 0644
object_properties.cpython-313.pyc File 8.27 KB 0644
orca.cpython-313.pyc File 13.43 KB 0644
orca_gtkbuilder.cpython-313.pyc File 5.53 KB 0644
orca_gui_navlist.cpython-313.pyc File 10.45 KB 0644
orca_gui_prefs.cpython-313.pyc File 166.31 KB 0644
orca_gui_profile.cpython-313.pyc File 5.69 KB 0644
orca_i18n.cpython-313.pyc File 2.63 KB 0644
orca_modifier_manager.cpython-313.pyc File 17.05 KB 0644
orca_platform.cpython-313.pyc File 661 B 0644
phonnames.cpython-313.pyc File 1.51 KB 0644
pronunciation_dict.cpython-313.pyc File 1.95 KB 0644
script.cpython-313.pyc File 15.33 KB 0644
script_manager.cpython-313.pyc File 18.15 KB 0644
script_utilities.cpython-313.pyc File 87.03 KB 0644
settings.cpython-313.pyc File 6.79 KB 0644
settings_manager.cpython-313.pyc File 35.18 KB 0644
sleep_mode_manager.cpython-313.pyc File 6.67 KB 0644
sound.cpython-313.pyc File 8.71 KB 0644
sound_generator.cpython-313.pyc File 58.4 KB 0644
speech.cpython-313.pyc File 10.75 KB 0644
speech_and_verbosity_manager.cpython-313.pyc File 34.1 KB 0644
speech_generator.cpython-313.pyc File 214.55 KB 0644
speechdispatcherfactory.cpython-313.pyc File 33.52 KB 0644
speechserver.cpython-313.pyc File 10.21 KB 0644
spellcheck.cpython-313.pyc File 24.24 KB 0644
spiel.cpython-313.pyc File 34.68 KB 0644
ssml.cpython-313.pyc File 6.03 KB 0644
structural_navigation.cpython-313.pyc File 93.9 KB 0644
system_information_presenter.cpython-313.pyc File 9.42 KB 0644
table_navigator.cpython-313.pyc File 36.48 KB 0644
text_attribute_names.cpython-313.pyc File 6.01 KB 0644
where_am_i_presenter.cpython-313.pyc File 26.41 KB 0644
Filemanager