1 --- gtk+-2.6.4/gtk/gtkvseparator.c 2004-08-09 19:59:53.000000000 +0300
2 +++ gtk+-2.6.4/gtk/gtkvseparator.c 2005-04-06 16:19:38.356707256 +0300
4 gtk_vseparator_expose (GtkWidget *widget,
7 - if (GTK_WIDGET_DRAWABLE (widget))
8 - gtk_paint_vline (widget->style, widget->window, GTK_WIDGET_STATE (widget),
9 - &event->area, widget, "vseparator",
10 - widget->allocation.y,
11 - widget->allocation.y + widget->allocation.height - 1,
12 - widget->allocation.x + (widget->allocation.width -
13 - widget->style->xthickness) / 2);
14 + gboolean hildonlike_drawing = FALSE;
18 + gtk_widget_style_get ( widget, "hildonlike-drawing", &hildonlike_drawing, NULL );
20 + if (GTK_WIDGET_DRAWABLE (widget))
22 + if(hildonlike_drawing)
23 + gtk_paint_box (widget->style, widget->window, GTK_STATE_NORMAL,
24 + GTK_SHADOW_NONE, &event->area, widget, "vseparator",
25 + widget->allocation.x + (widget->allocation.width -
26 + widget->style->xthickness) / 2,
27 + widget->allocation.y,
29 + widget->style->xthickness,
30 + widget->allocation.height - 1);
32 + gtk_paint_vline (widget->style, widget->window, GTK_STATE_NORMAL,
33 + &event->area, widget, "vseparator",
34 + widget->allocation.y,
35 + widget->allocation.y + widget->allocation.height - 1,
36 + widget->allocation.x + (widget->allocation.width -
37 + widget->style->xthickness) / 2);