Philipp Hörist pushed to branch master at gajim / gajim

Commits:
7d204b37 by Philipp Hörist at 2017-03-26T21:06:00+02:00
Add extension point for hyperlink handling

- - - - -


1 changed file:

- src/conversation_textview.py


Changes:

=====================================
src/conversation_textview.py
=====================================
--- a/src/conversation_textview.py
+++ b/src/conversation_textview.py
@@ -863,6 +863,13 @@ class ConversationTextview(GObject.GObject):
                 self.make_link_menu(event, kind, word)
                 return True
             else:
+                self.plugin_modified = False
+                gajim.plugin_manager.gui_extension_point(
+                    'hyperlink_handler', word, kind, self,
+                    self.tv.get_toplevel())
+                if self.plugin_modified:
+                    return
+
                 # we launch the correct application
                 if kind == 'xmpp':
                     word = word[5:]



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/7d204b37c973ea73c0b8735cdb84f1daa4f91c0c
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to