Use the correct theme detail for < GTK+ 2.18 entry progress

This commit is contained in:
Christian Dywan 2010-02-03 18:41:54 +01:00
parent 27653d6670
commit 297d38e7d0

View file

@ -610,7 +610,7 @@ entry_expose_event (GtkWidget* entry,
{ {
gtk_paint_box (entry->style, text_area, gtk_paint_box (entry->style, text_area,
GTK_STATE_SELECTED, GTK_SHADOW_OUT, GTK_STATE_SELECTED, GTK_SHADOW_OUT,
&event->area, entry, "bar", &event->area, entry, "entry-progress",
0, 0, priv->fraction * width, height); 0, 0, priv->fraction * width, height);
gtk_entry_draw_text (GTK_ENTRY (entry)); gtk_entry_draw_text (GTK_ENTRY (entry));
} }