Discussion:
Plugin hyperlinks in chat
Daniel Alexander Guzman
2013-03-16 16:03:12 UTC
Permalink
I'm looking to port a libpurple plugin over to Adium, and for the most part, it's a matter of Objective-C glue, but there are a few pidgin-specific parts that make use of gtkimhtml. This breaks under Adium, and the plugin has to have this functionality removed. It's nothing too complex, but I would like to implement the functionality under Adium as well. It's a protocol handler to handle links to group chats and such in chats. In the pidgin plugin, it's implemented as a call to gtk_imhtml_class_register_protocol, which passes it the functions to deal with the protocols in question.

Essentially, my question is how to register a hyperlink protocol with Adium in a plugin. Is there a method comparable to the one provided by gtkimhtml in pidgin?
Loading...