Index: gtkexpander.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkexpander.c,v
retrieving revision 1.28
diff -u -p -r1.28 gtkexpander.c
--- gtkexpander.c	14 May 2006 04:25:29 -0000	1.28
+++ gtkexpander.c	23 Jun 2006 20:51:14 -0000
@@ -239,6 +239,13 @@ gtk_expander_class_init (GtkExpanderClas
 							     DEFAULT_EXPANDER_SPACING,
 							     GTK_PARAM_READABLE));
 
+  gtk_widget_class_install_style_property (widget_class,
+					   g_param_spec_boolean ("bold-background",
+							         P_("Bold Background"),
+							         P_("Draw a bold background"),
+							         FALSE,
+							         GTK_PARAM_READABLE));
+
   widget_class->activate_signal =
     g_signal_new (I_("activate"),
 		  G_TYPE_FROM_CLASS (gobject_class),
@@ -695,7 +702,7 @@ gtk_expander_unmap (GtkWidget *widget)
 }
 
 static void
-gtk_expander_paint_prelight (GtkExpander *expander)
+gtk_expander_paint_flat_box (GtkExpander *expander, GtkStateType state)
 {
   GtkWidget *widget;
   GtkContainer *container;
@@ -733,7 +740,7 @@ gtk_expander_paint_prelight (GtkExpander
   area.height += !interior_focus ? (focus_width + focus_pad) * 2 : 0;
 
   gtk_paint_flat_box (widget->style, widget->window,
-		      GTK_STATE_PRELIGHT,
+		      state,
 		      GTK_SHADOW_ETCHED_OUT,
 		      &area, widget, "expander",
 		      area.x, area.y,
@@ -746,18 +753,27 @@ gtk_expander_paint (GtkExpander *expande
   GtkWidget *widget;
   GdkRectangle clip;
   GtkStateType state;
+  gboolean bold_background;
 
   widget = GTK_WIDGET (expander);
 
   get_expander_bounds (expander, &clip);
 
+  gtk_widget_style_get (widget,
+			"bold-background", &bold_background,
+			NULL);
+
+
   state = widget->state;
-  if (expander->priv->prelight)
+  if (expander->priv->prelight && bold_background == FALSE)
     {
       state = GTK_STATE_PRELIGHT;
-
-      gtk_expander_paint_prelight (expander);
+      gtk_expander_paint_flat_box (expander, state);
     }
+
+  if (bold_background == TRUE)
+    gtk_expander_paint_flat_box (expander, GTK_STATE_ACTIVE);
+
 
   gtk_paint_expander (widget->style,
 		      widget->window,
