summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/gtkhseparator.c.diff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/gtkhseparator.c.diff
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/gtkhseparator.c.diff')
-rw-r--r--openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/gtkhseparator.c.diff40
1 files changed, 0 insertions, 40 deletions
diff --git a/openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/gtkhseparator.c.diff b/openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/gtkhseparator.c.diff
deleted file mode 100644
index 814c6ae5c7..0000000000
--- a/openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/gtkhseparator.c.diff
+++ /dev/null
@@ -1,40 +0,0 @@
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
3@@ -91,13 +91,29 @@
4 gtk_hseparator_expose (GtkWidget *widget,
5 GdkEventExpose *event)
6 {
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 );
16
17- return FALSE;
18+ if (GTK_WIDGET_DRAWABLE (widget))
19+ {
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);
28+ else
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);
35+ }
36+
37+
38+
39+ return FALSE;
40 }