# HG changeset patch # User Elliott Sales de Andrade # Date 1325750666 0 # Node ID 64aea8af2831b86b867326bd5238d6c006f6aaf8 # Parent c89d7ad82dba3e1314d2a36a23e3d0cb9c240e5c Update the signals in the GtkWebViewToolbar. diff -r c89d7ad82dba -r 64aea8af2831 pidgin/gtkwebviewtoolbar.c --- a/pidgin/gtkwebviewtoolbar.c Thu Jan 05 06:30:29 2012 +0000 +++ b/pidgin/gtkwebviewtoolbar.c Thu Jan 05 08:04:26 2012 +0000 @@ -1588,10 +1588,14 @@ 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