Overriding url handler
chanwit at gmail.com
Fri Aug 1 17:56:35 EDT 2008
I'm new to Pidgin and trying to develop a plugin for it. I would like
my plugin to handle hyperlinks by itself.
But I cannot override the default signal behaviour of the
"url_clicked" event of GtkIMHtml, because the signal is currently
emitted with flag G_SIGNAL_RUN_FIRST.
gtkimhtml.c (Pidgin 2.4.3) line 1343:
signals[URL_CLICKED] = g_signal_new("url_clicked",
Is it possible to change this value to G_SIGNAL_RUN_LAST, so my plugin
will be able to call g_signal_stop_emission_by_name() to change the
behaviour of the default handler.
More information about the Devel