From b2f192faabe412adce79534e22efe9fb69ee40e2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 21 Jul 2006 10:10:31 +0000 Subject: Rename /openembedded/ -> /meta/ git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff (limited to 'meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff') diff --git a/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff b/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff new file mode 100644 index 0000000000..f4b1c00900 --- /dev/null +++ b/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff @@ -0,0 +1,45 @@ +--- gtk+-2.6.4/gtk/gtkvseparator.c 2004-08-09 19:59:53.000000000 +0300 ++++ gtk+-2.6.4/gtk/gtkvseparator.c 2005-04-06 16:19:38.356707256 +0300 +@@ -91,13 +91,34 @@ + gtk_vseparator_expose (GtkWidget *widget, + GdkEventExpose *event) + { +- if (GTK_WIDGET_DRAWABLE (widget)) +- gtk_paint_vline (widget->style, widget->window, GTK_WIDGET_STATE (widget), +- &event->area, widget, "vseparator", +- widget->allocation.y, +- widget->allocation.y + widget->allocation.height - 1, +- widget->allocation.x + (widget->allocation.width - +- widget->style->xthickness) / 2); ++ gboolean hildonlike_drawing = FALSE; + +- return FALSE; ++ ++ gtk_widget_style_get ( widget, "hildonlike-drawing", &hildonlike_drawing, NULL ); ++ ++ if (GTK_WIDGET_DRAWABLE (widget)) ++ { ++ if(hildonlike_drawing) ++ gtk_paint_box (widget->style, widget->window, GTK_STATE_NORMAL, ++ GTK_SHADOW_NONE, &event->area, widget, "vseparator", ++ widget->allocation.x + (widget->allocation.width - ++ widget->style->xthickness) / 2, ++ widget->allocation.y, ++ ++ widget->style->xthickness, ++ widget->allocation.height - 1); ++ else ++ gtk_paint_vline (widget->style, widget->window, GTK_STATE_NORMAL, ++ &event->area, widget, "vseparator", ++ widget->allocation.y, ++ widget->allocation.y + widget->allocation.height - 1, ++ widget->allocation.x + (widget->allocation.width - ++ widget->style->xthickness) / 2); ++ } ++ ++ ++ ++ ++ ++ return FALSE; + } -- cgit v1.2.3-54-g00ecf