Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim
Commits: 22760a9a by Philipp Hörist at 2017-03-27T10:34:18+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 @@ -1012,6 +1012,12 @@ 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/22760a9a5bc8e4eefcbaad857687f5e5aecbd0dc
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits