# HG changeset patch # User Sadrul Habib Chowdhury # Date 1198970714 0 # Node ID 780266b8f15d97d7fbab1f34630de4ee1151ec14 # Parent d3a4c98c01b7d5098104112739b21636cd592c3b nacho points out that we need to connect to 'style-set' on a widget that uses the default style, because the signal is not emitted for widgets that uses custom styles. This is part of his earlier patch. References #4351. diff -r d3a4c98c01b7 -r 780266b8f15d pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sat Dec 29 21:50:23 2007 +0000 +++ b/pidgin/gtkblist.c Sat Dec 29 23:25:14 2007 +0000 @@ -5040,8 +5040,9 @@ gtk_label_set_line_wrap(GTK_LABEL(gtkblist->headline_label), TRUE); gtk_box_pack_start(GTK_BOX(gtkblist->headline_hbox), gtkblist->headline_image, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(gtkblist->headline_hbox), gtkblist->headline_label, TRUE, TRUE, 0); - g_signal_connect(gtkblist->headline_hbox, - "style-set", + g_signal_connect(gtkblist->headline_label, /* connecting on headline_hbox doesn't work, because + the signal is not emitted when theme is changed */ + "style-set", G_CALLBACK(headline_style_set), NULL); g_signal_connect (gtkblist->headline_hbox,