1 --- gtk+-2.6.4/gtk/gtkhseparator.c 2004-08-09 19:59:52.000000000 +0300
2 +++ gtk+-2.6.4/gtk/gtkhseparator.c 2005-04-06 16:19:36.667963984 +0300
4 gtk_hseparator_expose (GtkWidget *widget,
7 - if (GTK_WIDGET_DRAWABLE (widget))
8 - gtk_paint_hline (widget->style, widget->window, GTK_WIDGET_STATE (widget),
9 - &event->area, widget, "hseparator",
10 - widget->allocation.x,
11 - widget->allocation.x + widget->allocation.width - 1,
12 - widget->allocation.y + (widget->allocation.height -
13 - widget->style->ythickness) / 2);
14 + gboolean hildonlike_drawing = FALSE;
15 + gtk_widget_style_get ( widget, "hildonlike-drawing", &hildonlike_drawing, NULL );
18 + if (GTK_WIDGET_DRAWABLE (widget))
20 + if(hildonlike_drawing)
21 + gtk_paint_box (widget->style, widget->window, GTK_STATE_NORMAL,
22 + GTK_SHADOW_NONE, &event->area, widget, "hseparator",
23 + widget->allocation.x,
24 + widget->allocation.y + (widget->allocation.height -
25 + widget->style->ythickness) / 2,
26 + widget->allocation.width - 1,
27 + widget->style->ythickness);
29 + gtk_paint_hline (widget->style, widget->window, GTK_STATE_NORMAL,
30 + &event->area, widget, "hseparator",
31 + widget->allocation.x,
32 + widget->allocation.x + widget->allocation.width - 1,
33 + widget->allocation.y + (widget->allocation.height -
34 + widget->style->ythickness) / 2);