__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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'/����SSKr\R"SS5 SSKJr SSKJr SSKJr SSKJr SSKJr SS	K	J
r
 "S
S\R5r\
S:Xa�\R"5r\"5r\R#5r\R'S
\R(R*S9 \R-S5 \R/\5 \R15 \R2"5 gg)�N�Gtkz3.0)r)�Gdk)�GObject)�Pango)�gettext)�open_urlc�N�\rSrSrS
SjrSrSrSrSrSr	S	r
S
rSrSr
g)�ChangelogViewer�)Nc���[RRU5 SUlSUlUR	SS5 URS5 UR
S5 URS5 URS5 URS5 [R"5UlURUR5 URSUR5 URSUR 5 URSUR"5 URR%SUR&5 UbURR)U5 g	g	)
z>Init the ChangelogViewer as an Inheritance of the Gtk.TextViewFT�editable�zbutton-press-eventzmotion-notify-eventzvisibility-notify-eventzinsert-textN)r�__init__�hovering�first�set_property�set_cursor_visible�set_right_margin�set_left_margin�set_pixels_above_lines�set_vexpandr�
TextBuffer�buffer�
set_buffer�connect�button_press_event�motion_notify_event�visibility_notify_event�
connect_after�on_insert_text�set_text)�self�	changelogs  �?/usr/lib/python3/dist-packages/UpdateManager/ChangelogViewer.pyr�ChangelogViewer.__init__*s��	��� � ��&���
���
����*�e�,�����&����a� ����Q���#�#�A�&�������n�n�&���������$����)�4�+B�+B�C����*�D�,D�,D�E����.��0L�0L�M����!�!�-��1D�1D�E�� ��K�K� � ��+�!�c�*�[R"5Ul[R"5nUR	U5 URSURSU5 [R"5n[R"5nUR	[S55 URSURSU5 [R"5nUR	[S55 URSURSU5 URRU5 URRU5 URRU5 URRU5 URR5 g)zDCreate the context menu to be displayed when links are right
clicked�activate�openzOpen Link in BrowserzCopy Link to Clipboard�copyN)
r�Menu�menu�MenuItem�	set_labelr�handle_context_menu�_�add�show_all)r"�url�item_grey_link�item_seperator�item_open_link�item_copy_links      r$�create_context_menu�#ChangelogViewer.create_context_menuEs"���H�H�J��	������� � ��%������0�0�&�#�	
������������ � ��#9�!:�;������0�0�&�#�	
������� � ��#;�!<�=������0�0�&�#�	
�
	
�	�	�
�
�n�%��	�	�
�
�n�%��	�	�
�
�n�%��	�	�
�
�n�%��	�	���r&c�2�US:Xa[U5 US:Xa�[RR5n[RRSS5n[RRXE5nURUS5 UR5 gg)z1Handle activate event for the links' context menur)r*�	CLIPBOARDF���N)rr�Display�get_default�Atom�internr�	Clipboard�get_for_displayr!�store)r"�menuitem�actionr3�display�	selection�cbs       r$r/�#ChangelogViewer.handle_context_menucsq���V���S�M��V��
�k�k�-�-�/�G�������U�;�I����.�.�w�B�B��K�K��R� ��H�H�J�r&c�
�UR5nUHn[USS5nUS:wdM g URRSS[R
RS9nX5lURRXQU5 g)z@Apply the tag that marks links to the specified buffer selectionr3N��blue)�
foreground�	underline)	�get_tags�getattrr�
create_tagr�	Underline�SINGLEr3�	apply_tag)r"�start�endr3�tags�tags      r$�tag_link�ChangelogViewer.tag_linkrsw���~�~����C��#�u�d�+�C��b�y����k�k�$�$��V�u���/E�/E�%�
���������c�#�.r&c���SnSnSn/SQn/SQn	/SQn
S/U
-nS/nS	X�-U
-U-S	4S
X�-U-U4SX�-U-U4SX�-U-U4S
X�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4SX�-U-U4/n
U
GH.up�nURUR5[U5-
5nURU[R
RU5nU(dMgUunnUR5nUR5nUR5(aQURU5nUU;aOLUR5 URU5nUU;aO$UR5 OOUR5nMyUURU5-nURUUU5 UnM� g)zDSearch for http URLs in newly inserted text
and tag them accordinglyzhttps://launchpad.net/bugs/zhttp://bugs.debian.org/z2http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-)� �	�
)�)�]�>)�,�!�:�.z.
zhttp://zLP#zlp#zLP: #zlp: #zLP:#zlp:#z	Malone: #zMalone:#z	Ubuntu: #zUbuntu:#z	Closes: #zCloses:#zcloses:#z	closes: #zCVE-N)�get_iter_at_offset�
get_offset�len�forward_searchr�TextSearchFlags�VISIBLE_ONLYr*�forward_char�get_text�
backward_charrY)r"r�iter_end�content�args�MALONE�DEBIAN�CVE�ws�brak�punct�dot�dot_cr�search_items�	start_str�end_list�
url_prefix�iter�ret�match_start�	match_end�match_suffix�	match_tmp�textr3s                         r$r �ChangelogViewer.on_insert_textss��
/��*��B��
�������e�e�m�������	�E�)�F�2�I�>�
�B�I��O�V�,�
�B�I��O�V�,�
�b�i�#�o�v�.�
�b�i�#�o�v�.�
�R�Y��_�f�-�
�R�Y��_�f�-�
�"�)�c�/�6�2�
���S��&�1�
�"�)�c�/�6�2�
���S��&�1�
�"�)�c�/�6�2�
���S��&�1�
���S��&�1�
�"�)�c�/�6�2�
�R�Y��_�c�*�!
��(2>�-�Y�*��,�,��#�#�%��G��4��D���)�)��s�2�2�?�?������+.�(��i�(�~�~�/��%�N�N�,�	�� �-�-�/�/�(�1�1�)�<���8�+�!�"�.�.�0�(�1�1�)�<���8�+�!�!�/�/�1�� )��� 0�I��$!�<�#8�#8��#C�C���
�
�k�9�c�:� ��C�2>r&c	��URS:waURS:wagURR5up4UR5UR5:wagUR[RR[UR5[UR55upVURXV5nUR5nUH�n
[U
S5(dMURS:Xa[!U
R"5  gURS:XdMOUR%U
R"5 UR&R)SSSSURUR*5  g g![a GN'f=f![a& URXV5up�UR5nN�f=f)zcallback for mouse click events��Fr3NT)�buttonr�get_selection_boundsrg�
ValueError�window_to_buffer_coordsr�TextWindowType�WIDGET�int�x�y�get_iter_at_locationrO�AttributeError�hasattrrr3r8r,�popup�time)r"�	text_view�eventrUrVr�r�r~rW�	over_textrXs           r$r�"ChangelogViewer.button_press_event�sn���<�<�1������!2��	��;�;�;�;�=�L�U����!�S�^�^�%5�5��6��-�-����%�%�s�5�7�7�|�S����\�
���	#��,�,�Q�2�D��=�=�?�D��C��s�E�"�"��<�<�1�$��S�W�W�%���<�<�1�$��,�,�S�W�W�5��I�I�O�O��d�D�$����e�j�j�� ���'�	��	���	#� $� 9� 9�!� ?��Y��=�=�?�D�	#�s#�E=�7!F�=
F�
F�-F>�=F>c�:�UR[RR[	UR
5[	UR55up4URX45 UR[RR5R5 g)zpcallback for the mouse movement event, that calls the
check_hovering method with the mouse postition coordiantesF)r�rr�r�r�r�r��check_hovering�
get_window�TEXT�get_pointer)r"r�r�r�r�s     r$r�#ChangelogViewer.motion_notify_event�sm���0�0����%�%�s�5�7�7�|�S����\�
���	
���A�!�����*�*�/�/�0�<�<�>�r&c��UR[RR5nUR	5upEpgUR[RRXV5up�URX�5 g)z�callback if the widgets gets visible (e.g. moves to the foreground)
that calls the check_hovering method with the mouse position
coordinatesF)r�rr�r�r�r�r�r�)
r"r�r��window�screen�wx�wy�mod�bx�bys
          r$r�'ChangelogViewer.visibility_notify_eventsi���%�%�c�&8�&8�&=�&=�>�� &� 2� 2� 4���R��4�4����%�%�r�
���	
���B�#�r&c�$�SnURX5nUR5nUHn[US5(dMSn O X0R:wdUR
(a�SUlX0lUR(anUR
[RR5R[RR[RR55 gUR
[RR5R[RR[RR 55 gg![a' URX5updUR5nGNif=f)zGCheck if the mouse is above a tagged link and if yes show
a hand cursorFr3TN)r�rOr�r�rrr�rr�r��
set_cursorr�Cursor�new�
CursorType�HAND2�LEFT_PTR)r"r�r��	_hoveringr~rWr�rXs        r$r��ChangelogViewer.check_hoverings���	�	#��,�,�Q�2�D��=�=�?�D��C��s�E�"�"� �	����
�
�%�����D�J�%�M��}�}����� 2� 2� 7� 7�8�C�C��J�J�N�N�3�>�>�#7�#7�8������ 2� 2� 7� 7�8�C�C��J�J�N�N�3�>�>�#:�#:�;��*4���	#� $� 9� 9�!� ?��Y��=�=�?�D�	#�s�!E�-F�F)rrrr,)N)�__name__�
__module__�__qualname__�__firstlineno__rr8r/rYr rrrr��__static_attributes__�r&r$r
r
)s2��,�6�<
�/�M!�^& �P�
�r&r
�__main__�
versiontag)�weightz�

Version 6-14-0ubuntu1.9.04:

  * New upstream version. LP: #382918.
    Release notes at http://java.sun.com/javase/6/webnotes/ReleaseNotes.html.

)�gi�require_version�
gi.repositoryrrrrrr0�DistUpgrade.ReleaseNotesViewerr�TextViewr
r��Window�w�cv�
get_buffer�changesrQ�Weight�BOLDr!r1r2�mainr�r&r$�<module>r�s���:
����5�%� ���!�� �3�B�c�l�l�B�J�z���
�
��A�	�	�B��m�m�o�G����|�E�L�L�,=�,=��>����	�	��E�E�"�I��J�J�L��H�H�J�%r&

Filemanager

Name Type Size Permission Actions
ChangelogViewer.cpython-313.pyc File 12.85 KB 0644
Dialogs.cpython-313.pyc File 25.5 KB 0644
HelpViewer.cpython-313.pyc File 1.56 KB 0644
MetaReleaseGObject.cpython-313.pyc File 1.85 KB 0644
UnitySupport.cpython-313.pyc File 4.27 KB 0644
UpdateManager.cpython-313.pyc File 28.67 KB 0644
UpdateManagerVersion.cpython-313.pyc File 189 B 0644
UpdatesAvailable.cpython-313.pyc File 59.87 KB 0644
__init__.cpython-313.pyc File 153 B 0644
Filemanager