Add extension point for hyperlink handling
This commit is contained in:
parent
6b34ea957e
commit
7d204b37c9
1 changed files with 7 additions and 0 deletions
|
@ -863,6 +863,13 @@ class ConversationTextview(GObject.GObject):
|
||||||
self.make_link_menu(event, kind, word)
|
self.make_link_menu(event, kind, word)
|
||||||
return True
|
return True
|
||||||
else:
|
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
|
# we launch the correct application
|
||||||
if kind == 'xmpp':
|
if kind == 'xmpp':
|
||||||
word = word[5:]
|
word = word[5:]
|
||||||
|
|
Loading…
Add table
Reference in a new issue