pidgin: e5aea2d3: Update the signals in the GtkWebViewTool...
qulogic at pidgin.im
qulogic at pidgin.im
Thu Jan 5 23:01:42 EST 2012
----------------------------------------------------------------------
Revision: e5aea2d354805937f9978e8d15e9e4d417bf1659
Parent: 75b5126aa583d56c2a6a4d91e72835deb31711ce
Author: qulogic at pidgin.im
Date: 01/05/12 03:04:26
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e5aea2d354805937f9978e8d15e9e4d417bf1659
Changelog:
Update the signals in the GtkWebViewToolbar.
Changes against parent 75b5126aa583d56c2a6a4d91e72835deb31711ce
patched pidgin/gtkwebviewtoolbar.c
-------------- next part --------------
============================================================
--- pidgin/gtkwebviewtoolbar.c a02b3118d15fbeee1c3aaa6fa52b12aad465bc56
+++ pidgin/gtkwebviewtoolbar.c dc1f9501c30c557d29306df9a4c6dd9d20918559
@@ -1588,10 +1588,14 @@ gtk_webviewtoolbar_attach(GtkWebViewTool
g_return_if_fail(GTK_IS_WEBVIEW(webview));
toolbar->webview = webview;
- g_signal_connect(G_OBJECT(webview), "format_buttons_update", G_CALLBACK(update_buttons_cb), toolbar);
- g_signal_connect_after(G_OBJECT(webview), "format_function_toggle", G_CALLBACK(toggle_button_cb), toolbar);
- g_signal_connect_after(G_OBJECT(webview), "format_function_clear", G_CALLBACK(update_format_cb), toolbar);
- g_signal_connect(G_OBJECT(webview), "format_function_update", G_CALLBACK(update_format_cb), toolbar);
+ g_signal_connect(G_OBJECT(webview), "allowed-formats-updated",
+ G_CALLBACK(update_buttons_cb), toolbar);
+ g_signal_connect_after(G_OBJECT(webview), "format-toggled",
+ G_CALLBACK(toggle_button_cb), toolbar);
+ g_signal_connect_after(G_OBJECT(webview), "format-cleared",
+ G_CALLBACK(update_format_cb), toolbar);
+ g_signal_connect(G_OBJECT(webview), "format-updated",
+ G_CALLBACK(update_format_cb), toolbar);
#if 0
g_signal_connect_after(G_OBJECT(GTK_WEBVIEW(webview)->text_buffer), "mark-set", G_CALLBACK(mark_set_cb), toolbar);
#endif
More information about the Commits
mailing list