aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
downloadopenembedded-c8e5702127e507e82e6f68a4b8c546803accea9d.tar.gz
openembedded-c8e5702127e507e82e6f68a4b8c546803accea9d.tar.bz2
openembedded-c8e5702127e507e82e6f68a4b8c546803accea9d.zip
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff')
-rw-r--r--packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff45
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff b/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff
index e69de29bb2..f4b1c00900 100644
--- a/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff
+++ b/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;
+ }