Fill SugarAddressEntry using the theme, so that the colors are correct.

Fixes #6273.
This commit is contained in:
Benjamin Berg 2008-02-10 17:15:36 +01:00
parent 8e6a5b42be
commit fc3b70b366

View File

@ -450,11 +450,11 @@ sugar_address_entry_expose(GtkWidget *widget,
get_text_area_size (entry, NULL, NULL, &area_width, &area_height);
/* gtk_paint_flat_box (widget->style, entry->text_area,
GTK_WIDGET_STATE(widget), GTK_SHADOW_NONE,
NULL, widget, "entry_bg",
0, 0, area_width, area_height);
*/
gtk_paint_flat_box (widget->style, entry->text_area,
GTK_WIDGET_STATE(widget), GTK_SHADOW_NONE,
NULL, widget, "entry_bg",
0, 0, area_width, area_height);
if (address_entry->progress != 0.0 && address_entry->progress != 1.0 &&
!GTK_WIDGET_HAS_FOCUS(entry)) {