__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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]: ~ $
�

 ]e$1���SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJ	r	 SSKJ
r
 \R"SS5 SSKJr SSKJ
r
 "S	S
5r"SS5r"S
S\R \R"5rg)�N)�GObject)�Gio)�Gtk�PeasGtkz1.0)r)�RBc�B�\rSrSrSrSr"SS5rSrSrSr	S	r
g)
�GSetting�&z[
This class manages the different settings that the plugin has to
access to read or write.
Nc�6�\rSrSrSrSrSrSrSrSr	Sr
g	)
�GSetting.__impl�.�*Implementation of the singleton interface c�~�URSS9UlURSSSSSSS	S
SSS
SSSSS9Ul0Ulg)�h
Initializes the singleton interface, assigning all the constants
used to access the plugin's settings.
z/org.gnome.rhythmbox.plugins.alternative_toolbar)�PLUGINzdisplay-typezstart-hiddenzshow-compactzcompact-posz
playing-labelzvolume-controlzinline-labelzenhanced-sidebar�	expandersz
show-tooltipszrepeat-typezshow-source-toolbarzhoriz-categorieszapp-menu-displayz
dark-theme)�DISPLAY_TYPE�START_HIDDEN�SHOW_COMPACT�COMPACT_POS�
PLAYING_LABEL�VOLUME_CONTROL�INLINE_LABEL�ENHANCED_SIDEBAR�	EXPANDERS�
SHOW_TOOLTIPS�REPEAT_TYPE�SOURCE_TOOLBAR�HORIZ_CATEGORIES�APP_MENU�
DARK_THEMEN)�_enum�Path�	PluginKey�setting��selfs �H/usr/lib/rhythmbox/plugins/alternative-toolbar/alttoolbar_preferences.py�__init__�GSetting.__impl.__init__2sj��
�
�
�H�#�J�D�I�"�Z�Z�+�+�+�)�-�/�+�!3�%�-�)�4�!3�+�'�(��D�N�$�D�L�c��URUnU$! [RRU5URU'URUnU$=f)zC
Return an instance of Gio.Settings pointing at the selected path.
)r%r�Settings�new)r'�pathr%s   r(�get_setting�GSetting.__impl.get_settingNsS��
-��,�,�t�,��
�N��	
-�%(�\�\�%5�%5�d�%;����T�"��,�,�t�,���N�s	��=Ac�*�URU5U$)z7
Return the value saved on key from the settings path.
�r0)r'r/�keys   r(�	get_value�GSetting.__impl.get_valueZs���#�#�D�)�#�.�.r+c�*�X0RU5U'g)z3
Set the passed value to key in the settings path.
Nr3)r'r/r4�values    r(�	set_value�GSetting.__impl.set_value`s��+0���T�"�3�'r+c��[SSU5$�z
Create an enumn.
�Enum���type�r'�enumss  r(r"�GSetting.__impl._enumf������E�*�*r+)r#r$r%N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__r)r0r5r9r"�__static_attributes__r>r+r(�__implr.s��9�	�8
	�	/�	0�	+r+rKc��[Rc[R5[l[RURS'g)�Create singleton instance N�_GSetting__instance)r	rN�_GSetting__impl�__dict__r&s r(r)�GSetting.__init__ls6�����&�"*�/�/�"3�H��08�/B�/B��
�
�+�,r+c�.�[URU5$�z"Delegate access to implementation )�getattrrN�r'�attrs  r(�__getattr__�GSetting.__getattr__v����t����-�-r+c�.�[URX5$rS)�setattrrN�r'rVr8s   r(�__setattr__�GSetting.__setattr__z����t����4�4r+r>)rErFrGrHrIrNrOr)rWr]rJr>r+r(r	r	&s)���
�J�<+�<+�|C�.�5r+r	c�B�\rSrSrSrSr"SS5rSrSrSr	S	r
g)
�CoverLocale�z
This class manages the locale
Nc�6�\rSrSrSrSrSrSrSrSr	Sr
g	)
�CoverLocale.__impl�rc�.�URSSS9Ulg)r�	rhythmboxzalternative-toolbar)r�
LOCALE_DOMAINN)r"�Localer&s r(r)�CoverLocale.__impl.__init__�s��
�*�*��3�%�5�D�Kr+c�z�[R"[RS5 [R"U[R
"55 [R"U5 [R"U[R
"55 [R"U5 [R"U5 g)z
Change the locale
�N)	�locale�	setlocale�LC_ALL�bindtextdomainr�
locale_dir�
textdomain�gettext�install)r'�locale_types  r(�
switch_locale� CoverLocale.__impl.switch_locale�sl��
���V�]�]�B�/��!�!�+�r�}�}��?����k�*��"�"�;��
�
��@����{�+��O�O�K�(r+c�2�[R"5S$)zH
return the string representation of the users locale
for example
en_US
r)rm�getdefaultlocaler&s r(�
get_locale�CoverLocale.__impl.get_locale�s���*�*�,�Q�/�/r+c��[SSU5$r<r?rAs  r(r"�CoverLocale.__impl._enum�rDr+c�.�[R"U5$)z-
return the translated version of the string
)rs)r'r8s  r(�get_translation�"CoverLocale.__impl.get_translation�s���?�?�5�)�)r+)riN)rErFrGrHrIr)rvrzr"rrJr>r+r(rKrd�s��9�	5�		)�	0�	+�	*r+rKc��[Rc[R5[l[RURS'g)rMN�_CoverLocale__instance)rar��_CoverLocale__implrPr&s r(r)�CoverLocale.__init__�s8���!�!�)�%0�%7�%7�%9�K�"�3>�2H�2H��
�
�.�/r+c�.�[URU5$rS)rTr�rUs  r(rW�CoverLocale.__getattr__�rYr+c�.�[URX5$rS)r[r�r\s   r(r]�CoverLocale.__setattr__�r_r+r>)rErFrGrHrIr�r�r)rWr]rJr>r+r(raras)����J�**�**�XI�.�5r+rac�t�\rSrSrSrSr\R"\RS9r	Sr
SrSrSr
S	rS
rSrg)
�Preferences��z�
Preferences for the Plugins. It holds the settings for
the plugin and also is the responsible of creating the preferences dialog.
�AlternativeToolbarPreferencesr?c���[RRU5 [5UlURRURRR5Ulg)zP
Initialises the preferences, getting an instance of the settings saved
by Gio.
N)	r�Objectr)r	�gsr0r#r�plugin_settingsr&s r(r)�Preferences.__init__�sD��
	������%��*���#�w�w�2�2�4�7�7�<�<�3F�3F�G��r+c��
�[S5 SUl[5nURURR
5 [R"5nURURR
5 UR[R"US55 URU5 URS5nURURUR R"R$(+5 UR'SUR(5 URS5UlURR-UR R"R.UR*S[0R2R45 UR*R'SUR65 URS5UlURR-UR R"R:UR8S[0R2R45 URS	5UlURR-UR R"R>UR<S[0R2R45 URS
5Ul URR-UR R"RBUR@S[0R2R45 URS5nURR-UR R"RDUS[0R2R45 URS5Ul#URR-UR R"RHURFS[0R2R45 URS
5Ul%URR-UR R"RLURJS[0R2R45 URS5Ul'URR-UR R"RPURNS[0R2R45 URS5nUR'SURR5 [RTRW5nURUR R"RXnUS:XaZURZR\(aURZR^(aURS5 O;URS5 O)US:XaURS5 OURS5 URa5(aUR*RS5 UR7UR*5 URS5nURc[eS5S5n	U	R'SURf5 URS5Ul4URR-UR R"RjURhS[0R2R45 SUlURS5$)z)
Creates the plugin's preferences dialog
zDEBUG - create_display_contentsTzui/altpreferences.ui�start_hidden_checkbox�toggled�show_compact_checkbox�active�compact_pos_combobox�playing_label_checkbox�inline_label_checkbox�volume_control_checkbox�enhanced_sidebar_checkbox�tooltips_checkbox�dark_theme_checkbox�
modern_switch�notifyrF��infobar�Restart�clicked�category_combobox�preferences_box)6�print�
_first_runrarvrirhr�Builder�set_translation_domain�
add_from_file�rb�find_plugin_file�connect_signals�
get_object�
set_activer�r�r$r�connect�_start_hidden_checkbox_toggled�
_show_compact�bindrr�SettingsBindFlags�DEFAULT�_show_compact_checkbox_toggled�_compact_posr�_playing_labelr�
_inline_labelrr�_enhanced_sidebarr�_show_tooltipsr�_dark_themer!�_modern_switch_stater-�get_defaultr�props�gtk_shell_shows_app_menu�gtk_shell_shows_menubar�
get_active�
add_button�_�_restart_button_clicked�
_category_posr)
r'�cl�builder�start_hidden�volume_controlr��default�display_typer��buttons
          r(�do_create_configure_widget�&Preferences.do_create_configure_widget�sR��	�/�0����
�]��
������0�0�1��+�+�-���&�&�r�y�y�'>�'>�?����b�1�1�$�2H�J�	K�����%��)�)�*A�B������$�$�T�W�W�%6�%6�%C�%C�D�D�	F����Y��(K�(K�L�$�/�/�0G�H������!�!�$�'�'�"3�"3�"@�"@�"&�"4�"4�h�"%�"7�"7�"?�"?�	A�	
���"�"�9�#'�#F�#F�	H�$�.�.�/E�F������!�!�$�'�'�"3�"3�"?�"?�"&�"3�"3�X�"%�"7�"7�"?�"?�	A�&�0�0�1I�J������!�!�$�'�'�"3�"3�"A�"A�"&�"5�"5�x�"%�"7�"7�"?�"?�	A�%�/�/�0G�H������!�!�$�'�'�"3�"3�"@�"@�"&�"4�"4�h�"%�"7�"7�"?�"?�	A�!�+�+�,E�F�����!�!�$�'�'�"3�"3�"B�"B�"0�(�"%�"7�"7�"?�"?�	A�")�!3�!3�'�")������!�!�$�'�'�"3�"3�"D�"D�"&�"8�"8�(�"%�"7�"7�"?�"?�	A�&�0�0�1D�E������!�!�$�'�'�"3�"3�"A�"A�"&�"5�"5�x�"%�"7�"7�"?�"?�	A�

���4�5�	
�����!�!�$�'�'�"3�"3�">�">�"&�"2�"2�H�"%�"7�"7�"?�"?�	A� �*�*�?�;�
����h��(A�(A�B��,�,�*�*�,���+�+�D�G�G�,=�,=�,J�,J�K���1���M�M�:�:��M�M�9�9��(�(��/��(�(��.�
�Q�
��$�$�T�*��$�$�U�+��#�#�%�%����)�)�$�/��+�+�D�,>�,>�?��$�$�Y�/���#�#�A�i�L�!�4�����y�$�">�">�?�$�/�/�0C�D������!�!�$�'�'�"3�"3�"D�"D�"&�"4�"4�h�"%�"7�"7�"?�"?�	A� ����!�!�"3�4�4r+c�z�[R"S5n[R"X"/[R
Q76 g)Nrg)�shutil�which�os�execl�sys�argv)r'�args�exepaths   r(r��#Preferences._restart_button_clicked@s%���,�,�{�+��
����-�C�H�H�-r+c��UR5(+URURRR'g�N)r�r�r�r$r)r'�
toggle_buttons  r(r��*Preferences._start_hidden_checkbox_toggledDs1���(�(�*�*�	
���T�W�W�.�.�;�;�<r+c���UR5nURRU5 URRU5 URRU5 gr�)r�r��
set_sensitiver�r�)r'r��enableds   r(r��*Preferences._show_compact_checkbox_toggledHsL���*�*�,�����)�)�'�2����(�(��1����)�)�'�2r+c��UR5nURRU(+5 URRU(+5 U(aIURR	S5 SUR
URRR'gSUR
URRR'g)NTr��)	r�r�r�r�r�r�r�r$r)r'�switch�param�states    r(r�� Preferences._modern_switch_stateOs����!�!�#�����(�(�U��3����'�'�E�	�2�����)�)�$�/�CD�D� � ����!2�!2�!?�!?�@�CD�D� � ����!2�!2�!?�!?�@r+)r�r�r�r�r�r�r�r�r�r�r�N)rErFrGrHrI�__gtype_name__r�propertyr��objectr)r�r�r�r�r�rJr>r+r(r�r��sD���5�N�
�
�
�7�>�>�
2�F�H�h5�T.�+�3�	Er+r�)rsrmr�r�r��gir��
gi.repositoryrrr�require_versionrrr	rar��Configurabler�r>r+r(�<module>r�sq��*�
�	�
�
�	�	�!������9�e�$�!��V5�V5�rC5�C5�LSE�'�.�.�'�"6�"6�SEr+

Filemanager

Name Type Size Permission Actions
alternative-toolbar.cpython-313.pyc File 25.26 KB 0644
alttoolbar_controller.cpython-313.pyc File 29.02 KB 0644
alttoolbar_plugins.cpython-313.pyc File 24.7 KB 0644
alttoolbar_preferences.cpython-313.pyc File 15.9 KB 0644
alttoolbar_rb3compat.cpython-313.pyc File 36.76 KB 0644
alttoolbar_repeat.cpython-313.pyc File 18.25 KB 0644
alttoolbar_sidebar.cpython-313.pyc File 26.88 KB 0644
alttoolbar_type.cpython-313.pyc File 74.77 KB 0644
alttoolbar_widget.cpython-313.pyc File 3.39 KB 0644
Filemanager