diff options
author | Tomas Frydrych <tf@openedhand.com> | 2006-05-30 11:26:19 +0000 |
---|---|---|
committer | Tomas Frydrych <tf@openedhand.com> | 2006-05-30 11:26:19 +0000 |
commit | b200c92f151d127c9f8906f9ff6c7078304822ae (patch) | |
tree | 59bb69290425a4d07591aa2cc88e60231d930b70 /openembedded | |
parent | 59a49d9ca40f7129d75cad0bf54c4e009ce0a16c (diff) | |
download | poky-b200c92f151d127c9f8906f9ff6c7078304822ae.tar.gz |
* openembedded/packages/gtk+: added gtklabel-center.patch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@452 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded')
-rw-r--r-- | openembedded/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch | 13 | ||||
-rw-r--r-- | openembedded/packages/gtk+/gtk+_2.6.7.bb | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/openembedded/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch b/openembedded/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch new file mode 100644 index 0000000000..b368cb4b7c --- /dev/null +++ b/openembedded/packages/gtk+/gtk+-2.6.7/gtklabel-center.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- gtk+-2.6.7/gtk/gtklabel.c~ 2006-05-25 15:35:15.000000000 +0100 | ||
2 | +++ gtk+-2.6.7/gtk/gtklabel.c 2006-05-30 11:40:37.000000000 +0100 | ||
3 | @@ -2185,8 +2185,8 @@ | ||
4 | req_width - misc->xpad); | ||
5 | |||
6 | y = floor (widget->allocation.y + (gint)misc->ypad | ||
7 | - + MAX (((widget->allocation.height - widget->requisition.height) * misc->yalign) | ||
8 | - + 0.5, 0)); | ||
9 | + + ((widget->allocation.height - widget->requisition.height) * misc->yalign) | ||
10 | + + 0.5); | ||
11 | |||
12 | if (xp) | ||
13 | *xp = x; | ||
diff --git a/openembedded/packages/gtk+/gtk+_2.6.7.bb b/openembedded/packages/gtk+/gtk+_2.6.7.bb index b276072310..080db44c02 100644 --- a/openembedded/packages/gtk+/gtk+_2.6.7.bb +++ b/openembedded/packages/gtk+/gtk+_2.6.7.bb | |||
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.gtk.org" | |||
5 | SECTION = "libs" | 5 | SECTION = "libs" |
6 | PRIORITY = "optional" | 6 | PRIORITY = "optional" |
7 | DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt" | 7 | DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt" |
8 | PR = "r4" | 8 | PR = "r5" |
9 | 9 | ||
10 | SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \ | 10 | SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \ |
11 | file://no-demos.patch;patch=1 \ | 11 | file://no-demos.patch;patch=1 \ |
@@ -15,6 +15,7 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \ | |||
15 | file://hardcoded_libtool.patch;patch=1 \ | 15 | file://hardcoded_libtool.patch;patch=1 \ |
16 | file://disable-tooltips.patch;patch=1 \ | 16 | file://disable-tooltips.patch;patch=1 \ |
17 | file://gtklabel-resize-patch;patch=1 \ | 17 | file://gtklabel-resize-patch;patch=1 \ |
18 | file://gtklabel-center.patch;patch=1 \ | ||
18 | file://menu-deactivate.patch;patch=1 \ | 19 | file://menu-deactivate.patch;patch=1 \ |
19 | file://scroll-timings.patch;patch=1 \ | 20 | file://scroll-timings.patch;patch=1 \ |
20 | file://small-gtkfilesel.patch;patch=1 \ | 21 | file://small-gtkfilesel.patch;patch=1 \ |