From 2e296ba3f83da9a3e8668e68911e4bd3b0a6c206 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 29 Feb 2008 15:08:44 +0000 Subject: 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 --- meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch | 15 +++++++++++++++ meta/packages/gtk+/gtk+_2.12.7.bb | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch (limited to 'meta/packages') 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 000000000..11ec6a269 --- /dev/null +++ b/meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch @@ -0,0 +1,15 @@ +Index: gtk+-2.12.7/gtk/gtkfilechooserdefault.c +=================================================================== +--- gtk+-2.12.7.orig/gtk/gtkfilechooserdefault.c 2008-02-29 15:04:29.000000000 +0000 ++++ gtk+-2.12.7/gtk/gtkfilechooserdefault.c 2008-02-29 15:05:23.000000000 +0000 +@@ -178,8 +178,8 @@ + #define FALLBACK_ICON_SIZE 24 + + #define LIST_HBOX_SPACING DEFAULT_SPACING +-#define NUM_LINES 45 +-#define NUM_CHARS 60 ++#define NUM_LINES 15 ++#define NUM_CHARS 20 + + static void gtk_file_chooser_default_iface_init (GtkFileChooserIface *iface); + 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 a29bd313f..bddddde51 100644 --- a/meta/packages/gtk+/gtk+_2.12.7.bb +++ b/meta/packages/gtk+/gtk+_2.12.7.bb @@ -1,7 +1,7 @@ require gtk+.inc DEPENDS += "cairo" -PR = "r3" +PR = "r4" SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ file://xsettings.patch;patch=1 \ @@ -16,6 +16,7 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ file://filesystem-volumes.patch;patch=1 \ file://filechooser-props.patch;patch=1 \ file://filechooser-default.patch;patch=1 \ + file://filechooser-sizefix.patch;patch=1 \ # temporary # file://gtklabel-resize-patch;patch=1 \ # file://menu-deactivate.patch;patch=1 \ -- cgit v1.2.3