im.pidgin.pidgin: 4c54c022c1d5540ea8b127a3da36ac83791cc070
sadrul at pidgin.im
sadrul at pidgin.im
Sat Dec 29 18:25:49 EST 2007
-----------------------------------------------------------------
Revision: 4c54c022c1d5540ea8b127a3da36ac83791cc070
Ancestor: ef6e60cf94284304d58dc0c3c567cf29eee280a1
Author: sadrul at pidgin.im
Date: 2007-12-29T23:25:14
Branch: im.pidgin.pidgin
Modified files:
pidgin/gtkblist.c
ChangeLog:
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.
-------------- next part --------------
============================================================
--- pidgin/gtkblist.c 7d0df67367ff2fa4c29c40c40bea3ee47f11189d
+++ pidgin/gtkblist.c f536b44af29c52619a5890a270559b72a2ef607f
@@ -5040,8 +5040,9 @@ static void pidgin_blist_show(PurpleBudd
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,
More information about the Commits
mailing list