diff options
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch')
-rw-r--r-- | meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch | 28 |
1 files changed, 22 insertions, 6 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 index 11ec6a2697..4de68dfb98 100644 --- a/meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch +++ b/meta/packages/gtk+/gtk+-2.12.7/filechooser-sizefix.patch | |||
@@ -1,15 +1,31 @@ | |||
1 | Index: gtk+-2.12.7/gtk/gtkfilechooserdefault.c | 1 | |
2 | =================================================================== | 2 | diff -ur /tmp/gtk+-2.12.7/gtk/gtkfilechooserdefault.c ./gtk/gtkfilechooserdefault.c |
3 | --- gtk+-2.12.7.orig/gtk/gtkfilechooserdefault.c 2008-02-29 15:04:29.000000000 +0000 | 3 | --- /tmp/gtk+-2.12.7/gtk/gtkfilechooserdefault.c 2008-02-29 17:00:14.000000000 +0000 |
4 | +++ gtk+-2.12.7/gtk/gtkfilechooserdefault.c 2008-02-29 15:05:23.000000000 +0000 | 4 | +++ ./gtk/gtkfilechooserdefault.c 2008-02-29 17:25:21.000000000 +0000 |
5 | @@ -178,8 +178,8 @@ | 5 | @@ -178,8 +178,8 @@ |
6 | #define FALLBACK_ICON_SIZE 24 | 6 | #define FALLBACK_ICON_SIZE 24 |
7 | 7 | ||
8 | #define LIST_HBOX_SPACING DEFAULT_SPACING | 8 | #define LIST_HBOX_SPACING DEFAULT_SPACING |
9 | -#define NUM_LINES 45 | 9 | -#define NUM_LINES 45 |
10 | -#define NUM_CHARS 60 | 10 | -#define NUM_CHARS 60 |
11 | +#define NUM_LINES 15 | 11 | +#define NUM_LINES 10 |
12 | +#define NUM_CHARS 20 | 12 | +#define NUM_CHARS 12 |
13 | 13 | ||
14 | static void gtk_file_chooser_default_iface_init (GtkFileChooserIface *iface); | 14 | static void gtk_file_chooser_default_iface_init (GtkFileChooserIface *iface); |
15 | static void gtk_file_chooser_embed_default_iface_init (GtkFileChooserEmbedIface *iface); | 15 | static void gtk_file_chooser_embed_default_iface_init (GtkFileChooserEmbedIface *iface); |
16 | diff -ur /tmp/gtk+-2.12.7/gtk/gtkfilechooserdialog.c ./gtk/gtkfilechooserdialog.c | ||
17 | --- /tmp/gtk+-2.12.7/gtk/gtkfilechooserdialog.c 2008-01-30 03:11:07.000000000 +0000 | ||
18 | +++ ./gtk/gtkfilechooserdialog.c 2008-02-29 17:20:30.000000000 +0000 | ||
19 | @@ -165,10 +165,10 @@ | ||
20 | gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor); | ||
21 | |||
22 | if (width) | ||
23 | - *width = MIN (*width, (monitor.width * 3) / 4); | ||
24 | + *width = MIN (*width, monitor.width); | ||
25 | |||
26 | if (height) | ||
27 | - *height = MIN (*height, (monitor.height * 3) / 4); | ||
28 | + *height = MIN (*height, monitor.height); | ||
29 | } | ||
30 | |||
31 | static void | ||