diff options
author | Richard Purdie <richard@openedhand.com> | 2008-02-29 15:08:44 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-02-29 15:08:44 +0000 |
commit | 2e296ba3f83da9a3e8668e68911e4bd3b0a6c206 (patch) | |
tree | 6e83ba1e019aa47711d7b3c0ac5373ae8e2c3f24 /meta/packages/gtk+ | |
parent | 566df3c2f64a59377646bc0c8403940bc085f3f4 (diff) | |
download | poky-2e296ba3f83da9a3e8668e68911e4bd3b0a6c206.tar.gz |
gtk+-2.12: Add patch to tweak the filechooser sizing from Thomas
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3879 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+')
-rw-r--r-- | meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch | 15 | ||||
-rw-r--r-- | meta/packages/gtk+/gtk+_2.12.7.bb | 3 |
2 files changed, 17 insertions, 1 deletions
diff --git a/meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch b/meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch new file mode 100644 index 0000000000..11ec6a2697 --- /dev/null +++ b/meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Index: gtk+-2.12.7/gtk/gtkfilechooserdefault.c | ||
2 | =================================================================== | ||
3 | --- gtk+-2.12.7.orig/gtk/gtkfilechooserdefault.c 2008-02-29 15:04:29.000000000 +0000 | ||
4 | +++ gtk+-2.12.7/gtk/gtkfilechooserdefault.c 2008-02-29 15:05:23.000000000 +0000 | ||
5 | @@ -178,8 +178,8 @@ | ||
6 | #define FALLBACK_ICON_SIZE 24 | ||
7 | |||
8 | #define LIST_HBOX_SPACING DEFAULT_SPACING | ||
9 | -#define NUM_LINES 45 | ||
10 | -#define NUM_CHARS 60 | ||
11 | +#define NUM_LINES 15 | ||
12 | +#define NUM_CHARS 20 | ||
13 | |||
14 | static void gtk_file_chooser_default_iface_init (GtkFileChooserIface *iface); | ||
15 | static void gtk_file_chooser_embed_default_iface_init (GtkFileChooserEmbedIface *iface); | ||
diff --git a/meta/packages/gtk+/gtk+_2.12.7.bb b/meta/packages/gtk+/gtk+_2.12.7.bb index a29bd313fb..bddddde51b 100644 --- a/meta/packages/gtk+/gtk+_2.12.7.bb +++ b/meta/packages/gtk+/gtk+_2.12.7.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require gtk+.inc | 1 | require gtk+.inc |
2 | 2 | ||
3 | DEPENDS += "cairo" | 3 | DEPENDS += "cairo" |
4 | PR = "r3" | 4 | PR = "r4" |
5 | 5 | ||
6 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ | 6 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ |
7 | file://xsettings.patch;patch=1 \ | 7 | file://xsettings.patch;patch=1 \ |
@@ -16,6 +16,7 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ | |||
16 | file://filesystem-volumes.patch;patch=1 \ | 16 | file://filesystem-volumes.patch;patch=1 \ |
17 | file://filechooser-props.patch;patch=1 \ | 17 | file://filechooser-props.patch;patch=1 \ |
18 | file://filechooser-default.patch;patch=1 \ | 18 | file://filechooser-default.patch;patch=1 \ |
19 | file://filechooser-sizefix.patch;patch=1 \ | ||
19 | # temporary | 20 | # temporary |
20 | # file://gtklabel-resize-patch;patch=1 \ | 21 | # file://gtklabel-resize-patch;patch=1 \ |
21 | # file://menu-deactivate.patch;patch=1 \ | 22 | # file://menu-deactivate.patch;patch=1 \ |