diff options
author | William Jon McCann <jmccann@redhat.com> | 2009-09-23 03:19:49 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2009-09-23 03:19:49 -0400 |
commit | 87755ba13fcf5b3379a7e167671dd25c77a5856a (patch) | |
tree | 7ba16fe8652b44da451f08b75c7c875c1237ed82 | |
parent | 9aea7141c243a2859818953ee675c362e6c4767a (diff) |
Fix styling actions
-rw-r--r-- | src/theme.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/theme.c b/src/theme.c index eaa2840..5a805d1 100644 --- a/src/theme.c +++ b/src/theme.c @@ -956,6 +956,10 @@ add_notification_action (GtkWindow *nw, } button = gtk_button_new (); + g_signal_connect (G_OBJECT (button), + "style-set", + G_CALLBACK (style_set_cb), + windata); gtk_widget_show (button); gtk_box_pack_start (GTK_BOX (windata->actions_box), button, FALSE, FALSE, 0); @@ -974,12 +978,20 @@ add_notification_action (GtkWindow *nw, if (pixbuf != NULL) { GtkWidget *image = gtk_image_new_from_pixbuf (pixbuf); + g_signal_connect (G_OBJECT (image), + "style-set", + G_CALLBACK (style_set_cb), + windata); gtk_widget_show (image); gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0); gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.5); } label = gtk_label_new (NULL); + g_signal_connect (G_OBJECT (label), + "style-set", + G_CALLBACK (style_set_cb), + windata); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); |